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!
Hi @Dinesh Rajendran
How are you authorising your request?
Ravi
Yes have been using the latest access_token for every 60 minutes
Try adding X-Atlassian-Token: no-check in the header
All of sudden it started working, but I haven't done any changes.
Thanks for your help.
It looks like you're new here. Sign in or register to get started.