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,364,823
Community Members
 
Community Events
168
Community Groups

Get the name of the last completed Query transition

Good day!
Is there a script with which I can get the "Name of the last completed transition, Issue"
Now I use this script in post-functions:

def workflowManager = ComponentAccessor.getWorkflowManager();

def workflow = workflowManager.getWorkflow(issue);
def wfd = workflow.getDescriptor()
def actionName = wfd.getAction(transientVars["actionId"] as int).getName()
return actionName

But I need to get the name of the transition in Listeners. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events