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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

928 views 3 12
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