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,367,474
Community Members
 
Community Events
168
Community Groups

How do i find a transition ID?

I need to find my transition ID's of a specific issue so i can integrate them into a power automate flow im working on

From my google searches it seems like i need to open the "edit workflow" page in "text mode" but for the love of god i DO NOT SEE IT

how can i get the transition id's? where is this text mode?

when i click the edit workflow button i just get to here:

 

r/jira - How do i find a transition ID?

4 answers

Hi Asaf,

Welcome, if you go to the workflow where the transition is  located, and you see it in text form, you will find the Transitions and their ID's:

1.png

Let us know how it goes.

Cheers,

Nico.

In addition you can use the API REST as stated in other answer, here's an example:

https://<instanceName>.atlassian.net//rest/api/3/issue/<issueIDorKey>/transitions

 

{"expand":"transitions","transitions":[{"id":"11","name":"Backlog","to":{"self":"https://nicotagle.atlassian.net/rest/api/3/status/10120","description":"","iconUrl":"https://nicotagle.atlassian.net/","name":"Backlog","id":"10120","statusCategory":{"self":"https://nicotagle.atlassian.net/rest/api/3/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"To Do"}},"hasScreen":false,"isGlobal":true,"isInitial":false,"isAvailable":true,"isConditional":false,"isLooped":false},{"id":"21","name":"Selected for Development","to":{"self":"https://nicotagle.atlassian.net/rest/api/3/status/10121","description":"","iconUrl":"https://nicotagle.atlassian.net/","name":"Selected for Development","id":"10121","statusCategory":{"self":"https://nicotagle.atlassian.net/rest/api/3/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"To Do"}},"hasScreen":false,"isGlobal":true,"isInitial":false,"isAvailable":true,"isConditional":false,"isLooped":false},{"id":"31","name":"In Progress","to":{"self":"https://nicotagle.atlassian.net/rest/api/3/status/3","description":"This issue is being actively worked on at the moment by the assignee.","iconUrl":"https://nicotagle.atlassian.net/images/icons/statuses/inprogress.png","name":"In Progress","id":"3","statusCategory":{"self":"https://nicotagle.atlassian.net/rest/api/3/statuscategory/4","id":4,"key":"indeterminate","colorName":"yellow","name":"In Progress"}},"hasScreen":false,"isGlobal":true,"isInitial":false,"isAvailable":true,"isConditional":false,"isLooped":false},{"id":"41","name":"Done","to":{"self":"https://nicotagle.atlassian.net/rest/api/3/status/10001","description":"","iconUrl":"https://nicotagle.atlassian.net/images/icons/status_generic.gif","name":"Done","id":"10001","statusCategory":{"self":"https://nicotagle.atlassian.net/rest/api/3/statuscategory/3","id":3,"key":"done","colorName":"green","name":"Done"}},"hasScreen":false,"isGlobal":true,"isInitial":false,"isAvailable":true,"isConditional":false,"isLooped":false}]}

 
You can grab your answer and save it as a json or copy&paste it here https://jsonformatter.org/

Cheers!

0 votes
Rilwan Ahmed Community Leader Aug 22, 2022

Hi @Asaf Djabar-Zade ,

Welcome to the community !!

To find a transition ID, you need to open the workflow from Admin settings --> Issues --> Workflow.

Click on Edit against the required workflow and open in text mode.
Now click on the transition and in the url you can find the ID.
   It will have like "workflowTransition=9252"

image.png

Thank you, i have made a scheme but i do not see the project i need in the project list when trying to associate it with my project

I only see company-managed projects in the list while the one im working on is team-managed

what do i do?

0 votes

Welcome to the Atlassian Community!

Look above the diagram, the tabs are Diagram / Text / Export.

You'll find each transition name has a number next to it in () 

am i missing something?

1.png

Ah, no, you're not missing anything.  Team-managed projects contain the workflow, and the editor for them doesn't have a text mode.  (Another reason I tell people not to use team-managed projects - they're not yet ready for any serious usage)

You'll need to use @Mohamed Benziane suggestion of grabbing them from the REST API.

i tried that, and i only get the ID's of like "to do", " in progress" and "done"

how can i find the id to transition the issue to my custom status like shown in the picture? for example "waiting for contract"?

That suggests you were looking at an issue type that is associated with a different workflow in the project.

i see, and i cannot associate it with the workflow i made because it only lists company-managed projects in the associate page...

welp, guess il have to remake the board as company managed :/

 

thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events