test
Hi @sriharsha m, welcome to the Community!
To transition an issue between statuses in Jira through the API, you would make a POST request to the URL path like this (substituting in your site and the issue key):
https://{yoursite}.atlassian.net/rest/api/3/issue/{issueIdOrKey}/transitions
The transition ID you want to use goes in the body of the request, as an object called transition with a key of id. For example:
"transition": { "id": "5" }
A full sample request is available in the REST API documentation showing how to call a transition .
How do you find which transition IDs you can use? A GET request to the same URL! Here's the REST API documentation for getting the valid transitions . For clarity, that's just a GET to the same URL that you would make the POST request to for the actual update. Substitute in your site URL and issue key:
https://{yoursite}.atlassian.net/rest/api/3/issue/{issueIdOrKey}/transitions
Let me know if you need further clarification!
Cheers,
Daniel | Atlassian Community
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.