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
Community Members
Community Events
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

Atlassian Community Events