Hi,
I'm trying to use a simple curl request to get details of an issue but it is failing with
{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}I'm using the following Curl request
curl -D- \
-H "Authorization: Basic base64encoded(emailaddress:APIToken)" \
-H "Content-Type: application/json" \
"https://<site-url>/rest/api/2/issue/TEST-1"
If I hit the same url in a browser it works fine.
When I look at my API token dashboard I can see that the last accessed field updates to "a few seconds ago" when I make the curl request. If I put in a wrong base64encoded value I get an HTML response.