Issue does not exist or you do not have permission to see it when using REST API

Hi, I tried fetching the an issue by calling REST API but got error "Issue does not exist or you do not have permission to see it",  my HTTP GET link is  :https://spttech.atlassian.net/rest/api/2/issue/GDS-1975

where "GDS-1975" is the issue key,  the issue definitely exists, what can be possibly wrong ?

1 answer

You don't have permission with that session.

Make sure you login before if using a browser. Else follow tutorial. https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-version-2-tutorial

 

I did log in, but still got the error. 

The syntax is correct. Either you are not allowed to see it or it doesn't exist. This assuming REST API is turned on.

Example, 

https://jira.atlassian.com/rest/api/2/issue/JSW-6541

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,354 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you