We can get list of available transitions by below:
GET /rest/api/2/issue/{issueIdOrKey}/transitions
And it will give list of available transitions.
But I want transition id for specific given 'status name/id',
So, I can use that transition id in "POST /rest/api/2/issue/{issueIdOrKey}/transitions".
And with use of above ,I want to update transition of the issue.
=> Actually I want to update transition of the issue by 'Status name', if there's another way besides above POST API, then please mentions that also.
Hi @Dhruval Shah ,
I don't think it is possible, it seems to me there is no such endpoint. There is the endpoint Get workflows paginated, which enables you to get all transitions in workflow, but still you need to find the relevant one for the status.
So I think your described approach is the best way how to do it - you need to find the right action from the available ones (using GET request) and then transition the issue (using POST request).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.