By using Rest API post method url as "/rest/api/2/issue/IS_1/transitions"
and request body as
{"historyMetadata":{},"update":{"comment":[{"add":{"body":"Bug has been fixed."}}]},"fields":{},"transition":{"id":"941"}}
with above request i am getting error as below
{"errorMessages":["Can't move (IS-46). You might not have permission, or the issue is missing required information. If you keep having this problem, contact your Jira Administrator."],"errors":{}}
but from Jira cloud UI i am able to update status but from api i'm getting above error
You may need to specify a value for the Resolution field when moving to "Done" state, e.g.
{
"update": {
"comment": [
{
"add": {
"body": "Bug fixed"
}
}]
},
"transition": {
"id":"941"
},
"fields": {
"resolution": {
"name": "Done"
}
}
}
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.