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?
@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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.