Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Api working issues

Muhammad Tahir
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!
September 1, 2023
{
"errorMessages": [
"Issue does not exist or you do not have permission to see it."
],
"errors": {}
}
Getting this issue while using the addComment/updateissue apis of jira.
Already checked the permission, I can add comment, update issue on web application easily with same account

3 answers

0 votes
Jehan Bhathena
Community Champion
September 2, 2023

Hi @Muhammad Tahir ,

Since your user can change/update the issue via the UI, you should be able to perform it vi API too.

Few things to check when you get the error :

  • Is your API pointing to the correct site/instance
  • Is your API authenticated correctly (PS: you need to your the API token instead of password). TO check the token use this link : https://id.atlassian.com/manage-profile/security/api-tokens
  • Try using the GET issue call to verify you access, and permissions

Do let us know if any of this helps.

0 votes
ELFAPP Technologies
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.
September 1, 2023

Hi,

Suppose you're adding a comment or updating an issue. For the latter, it could be that the field is not added to the screen when you're trying to update it.

0 votes
Fernando Eugênio da Silva
Community Champion
September 1, 2023

@Muhammad Tahir , Welcome to the Atlassian Community!

If you have access to the issue, try to change your API token. Create a new one and change in your API action. If doesn't work, drop here your payload and confirm that the user owner of the token can see and comment the issue.

Regards

Suggest an answer

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

Atlassian Community Events