After issue saved i am trying to update status using TransitionId but it always returned failed.
Hello Ramesh,
To change the status you will need to transition the issue
Check out:
Use the format:
curl -D- -u user:pass -X POST --data {your-json-data} -H "Content-Type: application/json" http://<BASE_URL OR IP:PORT>/jira/rest/api/2/issue/<ISSUE-KEY>/transitions?expand=transitions.fields
With the json data something like this:
{
"update": {
"comment": [
{
"add": {
"body": "Put a comment here"
}
}
]
},
"transition": {
"id": "#"
}
}
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.