Can I filter list of transitions for the Issue Status?

Dhruval Shah October 10, 2020

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.

1 answer

0 votes
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2020

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).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events