How do i find a transition ID?

Asaf Zade August 22, 2022

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?

5 answers

2 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022
Hunain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2024

Hi

 

 

 

 

1 vote
Nicolas Tagle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2022

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.

Nicolas Tagle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2022

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
Douglas Braun September 21, 2023

Hello Asaf,

I came to have the same problem as you. If you haven't found the solution yet, I worked the API from the issue expanding the transitions.

/rest/api/3/issue/issuekey/transitions

I would suggest having a test issue that goes through all the paths available in your workflow and then using this API to get all the transitions performed by it. I hope this helps you.

0 votes
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022

Hi @Asaf 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

Asaf Zade August 22, 2022

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022

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

Asaf Zade August 22, 2022

am i missing something?

1.png

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022

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.

Asaf Zade August 22, 2022

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"?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022

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

Asaf Zade August 23, 2022

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
AUG Leaders

Atlassian Community Events