Forums

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

Java Api - How to get the transition name / id out of IssueEvent?

Sebastian Eibisch
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!
May 6, 2019

Hi,

i am working on an Eventlistener, which tracks issue changes. Is it possible to get the transition name out of an com.atlassian.jira.event.issue.IssueEvent?

With getChangeLog().getRelated("ChildChangeItem") I only get "from->to" values.

Example:

From the following transition ...

0:
id: "12"
name: "fancy transition"
to:
self: "http:// ..."
name: "working"
...
statusCategory:
...
name: "done"

... I need to get "fancy transition" or the id "12".

 

 

0 answers

Suggest an answer

Log in or Sign up to answer