I have been trying to get details of a ticket via REST API from Java. Am not sure why am getting this error.
How I access the REST API :
https://api.atlassian.com/ex/jira/{cloudid}/rest/servicedeskapi/request/{my-request-id}Am using the below scope
"scope":"read:servicedesk-request"
Response recieved :
{"code":401,"errorMessage":"Unauthorized"}
Getting the same response even when tried via Postman tool
Any help is appreciated.
Thanks in advance!
Community moderators have prevented the ability to post new answers.
Yes have been using the latest access_token for every 60 minutes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try adding X-Atlassian-Token: no-check in the header
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All of sudden it started working, but I haven't done any changes.
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.