Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Obtain transition ID for API request

Salvador Arreola September 22, 2021

Hello! How can i get all transitions ID? I want to change status' issue using an API POST request, I've seen other questions but they access to Jira Service Managemente, but I'm using Jira Software (Scrum project) and management workflow panel is very different

 

Regards!

 

Jira Problem.png

1 answer

1 accepted

2 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 22, 2021

Hi @Salvador Arreola and welcome to the community!

You are running a TMP, but you can get the transitions of an issue by using the following request:

https://YOURINSTANCE.atlassian.net/rest/api/3/issue/YOUR_ISSUE_KEY/transitions

You can read more about it here.

Salvador Arreola September 23, 2021

Hi!, with that request i can see the current transition, but i want to obtain all of them more easier, anyway i'll do manually

Thank you!

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2021

The above request will give you all available transitions from the current status of this issue. If you want all ID's, why don't you go on the workflow, see it as text and get the ids from there?

ids.png

Salvador Arreola September 29, 2021

That menu doesn't appear for my project (Scrum project), i think only apply in a Service Management project. I resolved my problem with a bash script using the request that you show me before.

Thank you!

mochadwi
Contributor
February 4, 2022

Thanks! In my case (my privileges) unable to see the transition IDs tho' in advanced search or the workflows menu.

Therefore I'm using API (with enough privileges, that provided by our DevOps team) that able to shows the transitions ID

 

Added the comment in here: https://community.atlassian.com/t5/Jira-Software-questions/Re-Re-How-to-find-the-Transition-IDs-for-setting-up-Git/qaq-p/1934117/comment-id/183737#M183737 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events