JQL Authentication Error with cURL

  • 15 October 2020
  • 1 reply

Hi Everyone, 

I'm following the JQL tutorial here:

To test I use the following command:

curl -u SECRET: --data-urlencode script@jql.js

I get the following Authentication error:

<?xml version='1.0' encoding='UTF-8'?><Error><Code>AuthenticationRequired</Code><Message>Authentication required.</Message></Error>

I'm able to access the API to export raw data and the query API using that authentication method outlined above so I’m puzzled why it’s not working for this.  

Anyone know what I'm doing wrong?


- Jamie

1 reply

I’ve figured it out. In one part of the documentation the URL is listed as ‘’ but it should just be ‘’