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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.