Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,521
Community Members
 
Community Events
168
Community Groups

Can I filter list of transitions for the Issue Status?

Edited

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 Nov 08, 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

Atlassian Community Events