Hi. I am trying to change the status of an issue in Jira via rest API but I am getting this error below
Error:
{"errorMessages":["You do not have permission to edit issues in this project."],"errors":{}}
I am pretty sure that the user has permission to view and edit the issue as he's the system administrator.
Here is my input data:
{
"" update "": {
"" comment "": [{
"" add "": {
"" body "": "" Testing.""
}
}
]
},
"" fields "": {},
"" transition "": {
"" id "": "" 5 ""
}
}
Hello,
There could be a worklfow property defined for the Closed status.
You can also use the Permission helper (Sysytem -> permission helper) to find out if you have permissions to edit an issue.
Hi Alexey
Thanks for your prompt response. Sorry I am newbie on this Jira project but I think we are using the default Issues statuses with very minimum custom workflows. I am able to reopen closed or resolved issue on the browser. I only get the "You do not have permission to edit issues in this project." when I update the issue via the Rest API
I have checked the permission helper and
below is the summary of the permissions that I have:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to the permission helper. You should be able to edit the issue, which you checked.
You should try to localize your error. Try to just add a comment and have a look if it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add or editing comments and updating the statuses to closed, In progress and On Hold does work. The issue is on the re-opening or adding comments on a closed / resolved issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you have a look at the workflow properties for the Closed status?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey
Thanks for your reply and willing to assist, much appreciated.
Below are the screenshots of workflow properties for closed status:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should delete the jira.issue.editable property
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.