I am using REST API end point(POST /rest/api/3/issue/{issueIdOrKey}/comment) for adding a comment however, getting below error msg on POSTMAN
{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
but I am able to add the comment via JIRA cloud software. Please help me here
Hi @umesh kumar Welcome to Atlassian Community!
As per the error message, it seems to be a permission issue.
Are you using same account in REST API which you used for adding comment from UI?
Try to use Basic Auth, username will be email address and password is API token. Try in postman first or any other API testing tool, then try to insert in C# code.
Thanks
V.Y
Hi Vikrant, Yes same account is being used while adding the comments form UI and REST API. used Basic Auth as same way you suggested above.
May i know which permission should be checked as i am able to create a JIRA but not able to add comment to that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.