Hi I am trying to make rest API calls from my code and from POSTMAN, and they are failing with 404 : Issue does not exist or you do not have permission to see it.
I am able to make the same rest calls with Hoppscotch, which is also a rest API client.
$ curl --request GET \
> --url https://<client>.atlassian.net/rest/api/3/issue/ISSUE-3 \
> --header 'Authorization: Bearer API_TOKEN'
{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
You can use
$ curl --request GET \
> --url https://<client>.atlassian.net/rest/api/3/issue/ISSUE-3 \
> --header 'Authorization: Basic Base64_email:api_token'
I believe bearer only will work if you're using OAuth generated token. As the API key won't work in the issue API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.