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

Annie Zheng March 20, 2017

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

0 votes
Niclas Sandstroem
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2017

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

 

Annie Zheng March 20, 2017

I did log in, but still got the error. 

Niclas Sandstroem
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2017

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