Issue does not exist or you do not have permission to see it.

Win October 29, 2023

Hi,

I'm new to Jira, I'm trying to access Jira API by trying to get the issue info like below:

Header:
Bearer: API_TOKEN
it returns: (HTTP Status 404)
{
   "errorMessages": [
    "Issue does not exist or you do not have permission to see it."
],
   "errors": {}
}
I pretty sure the issue exists because I'm the one who created it manually, but I don't understand what does the permission mean?, I have used correct the API TOKEN.
any body can advice?
many thanks in advance

4 answers

1 vote
Jérémy Delpierre
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2024

Has there been a solution to the problem or another issue resolved on this point?
The API token with auth basic doesn't seem to be ok, or it's being used incorrectly. Is it possible to get an answer please?
Thanks in advance,

EDIT : 
I succeeded by creating the API token from the https://id.atlassian.com/manage-profile/security/api-tokens interface and then by entering my account identifier with the entire email and the token created.

Ron Mordoch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2024

Can you please share how you entered the account identifier with email and token? trying to solve this as well...thanks!

Like Kaley White likes this
rakesh_gurudu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2024

@Ron Mordoch

for the username use the full email id for eg: username@myCompany.domain

sample curl format:
curl -u username@myCompany.domain:APIToken -X GET "https://myCompany.atlassian.net/rest/api/3/issue/Ticket-21"

Like Christophe Letessier likes this
1 vote
Rafael Oliveira
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2024

Has a resolution to this issue been found?

1 vote
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 29, 2023

@Win -

In both project UI or REST APIs routes, the message ""Issue does not exist or you do not have permission to see it." is system default when the either the issue has been deleted already or one are not authorized to access it (this is related to permission).

Since you stated that you created the issue, typically you are setup to access the project and allow to create issue in the project in question.  So in my opinion is that you or someone else has deleted the issue from the system already when you attempt to run your REST APIs process.  One last possibility is that someone moved your created issue to another project where you don't have access to the project.  In this case, when an issue is moved from one project to another project, the original project issuekey are still maintained in the backend for issue data references by the system associated with the new different issuekey.  This is why the issuekey is still a valid value.

Unfortunately, the default system message above doesn't give anyone further details and the message cannot be customized by system admins for the JSM app.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Win October 29, 2023

@Joseph Chung Yin 

Thank you so much for your reply, I saw there are 3 tickets (see enclosed screenshot), and we only have 1 project as of now.

I'm stuck and don't know what to do, need advice from the expert.

thank you so much in advance.

 

tickets are still there.png

Win October 29, 2023

Untitled.png

karthik raj December 29, 2023

Hey @Win did you get any solution for the above issue? I am also facing the same problem. 

Like # people like this
0 votes
Abhyudai Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2024

try sending the request like 

auth_token= base64.b64encode(f"{data['email']}:{data['api_token']}".encode()).decode('utf-8') for rest api version 1 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events