Forums

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

How to get the transition id of an transition?

Stefan Caloian May 31, 2018

I am writing a plugin for jira in java, and I was wondering how I could get the ID of a specific transition after searching for it by its name

1 answer

0 votes
Moses Thomas
Community Champion
May 31, 2018

@Stefan CaloianI checked from  the database by  exporting  XML workflow format and we have something like  <action id "" 11""  name ="" transition name"">

 

Best!

Stefan Caloian May 31, 2018

I want to get it in the code, like make a transition object that is called by name, and returns the id?

Moses Thomas
Community Champion
May 31, 2018

@Stefan CaloianYou  have a complex request,  to get it returned in the code  you will  have get the  xml format from database as  workflows  are stored in XML format  then  iterate over this  xml  file  get this  id and return  it in your code. If you can do this  that  will  be interesting :)  .  This is my  idea.

Best!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events