The following script is to transition of parent worklow based on subtask
whenever moving any associated subtask to in progress status automatically move the parent story to in progress
code is below
ava.lang.NoClassDefFoundError: groovy/lang/GroovyObject at Script3691.run(Script3691.groovy:14) [?:?] at com.onresolve.scriptrunner.runner.AbstractScriptRunner.runScriptAndGetContext(AbstractScriptRunner.groovy:179) [?:?] at com.onresolve.scriptrunner.runner.AbstractScriptRunner$runScriptAndGetContext$3.callCurrent(Unknown Source) [?:?] at com.onresolve.scriptrunner.runner.AbstractScriptRunner.runScriptAndGetContext(AbstractScriptRunner.groovy:298) [?:?] at com.onresolve.scriptrunner.runner.AbstractScriptRunner$runScriptAndGetContext$2.callCurrent(Unknown Source) [?:?] at com.onresolve.scriptrunner.runner.AbstractScriptRunner.runScript(AbstractScriptRunner.groovy:310) [?:?] at com.onresolve.scriptrunner.runner.ScriptRunner$runScript$11.call(Unknown Source) [?:?] at com.onresolve.scriptrunner.canned.jira.utils.TypedCustomScriptDelegate.execute(TypedCustomScriptDelegate.groovy:19) [?:?] at com.onresolve.scriptrunner.canned.jira.utils.TypedCustomScriptDelegate$execute$0.call(Unknown Source) [?:?] at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CustomScriptFunction.execute(CustomScriptFunction.groovy:53) [?:?] at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CustomScriptFunction$execute.callCurrent(Unknown Source) [?:?] at com.onresolve.scriptrunner.canned.jira.workflow.AbstractWorkflowCannedScript.execute(AbstractWorkflowCannedScript.groovy:23) [?:?] at com.onresolve.scriptrunner.canned.jira.workflow.AbstractWorkflowCannedScript$execute$5.call(Unknown Source) [?:?] at com.onresolve.scriptrunner.jira.workflow.AbstractScriptWorkflowFunction$_run_closure2.doCall(AbstractScriptWorkflowFunction.groovy:91) [?:?] at com.onresolve.scriptrunner.jira.workflow.AbstractScriptWorkflowFunction$_run_closure2.doCall(AbstractScriptWorkflowFunction.groovy) [?:?] at jdk.internal.reflect.GeneratedMethodAccessor12582.in
Log's referral number: c9fa4a16-289a-41d1-9da7-351f12a25765
Referer URL: https://jira-preprod.nets.no/browse/STP-166
jvoke(Unknown Source) [?:?]
Hi @Jagadeesh Chander I use a listener to achieve the same thing.
Here's the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's not the right way to get the classes you need.
Have a look at https://library.adaptavist.com/entity/transition-original-issue-according-to-cloned-issue instead - it transitions another issue in a post-function, albeit with different criteria.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.