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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,113 views 6 19
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot