Forums

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

How to execute Adaptavist FasttrackTransition

Dennis Alexander April 9, 2020

I have a custom script runner post function

 

CannedScript script = ScriptRunnerImpl.scriptRunner.loadAndInstantiate("com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.FasttrackTransition") as CannedScript

def actionId = 91
if (condition1) actionId = 105
else if (condition2) actionId = 72

def params = [:]
script.doScript(params)

What should I pass as params if I'd like to transit issue with key ABC-111 into State with ID actionId?

1 answer

0 votes
Vikrant Yadav
Community Champion
April 9, 2020

@Dennis Alexander For Fast track transition > Go to Workflow > Select Transition > Post function > Scripted post function > Select Fast-track transition for an issue > Apply condition and select Workflow ID > Update.

 

Thanks

Dennis Alexander April 9, 2020

yes and that will allow me to transit to ONE Status

I'd like to be able to choose to which status to transit to, thus if statements in the code.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events