I am using JIRA Software 30 days trail cloud license.
There i am trying to update the comment as well as transition id of issue in a single api call for scrum project issue but unable to do so.
Api consuming :: POST /rest/api/2/issue/{issueIdOrKey}/transitions
Method: Post
payload:
{
"update": {
"comment": [
{
"add": {
"body": "To Do"
}
}
]
},
"transition": {
"id": "11"
}
}
Using above call issue transition changed but comment not updated in the issue.
Thanks,
Deeksha