Hi Adaptivist,
We are seeing a number of errors being thrown into the logs by failed scripts that cannot use Jelly scripts (which no longer work). I'd like to clean out these scripts but I can't find them. Here is the error:
2016-02-01 12:42:56,882 http-bio-127.0.0.1-8080-exec-2205 ERROR gcole 762x1998914x3 1pheaba 10.100.65.239,127.0.0.1 /secure/QuickCreateIssue.jspa [scriptrunner.jira.workflow.ScriptWorkflowFunction] *************************************************************************************
2016-02-01 12:42:56,884 http-bio-127.0.0.1-8080-exec-2205 ERROR <username> 762x1998914x3 1pheaba <IP address>,127.0.0.1 /secure/QuickCreateIssue.jspa [scriptrunner.jira.workflow.ScriptWorkflowFunction] Script function failed on issue: <Project Name>-5621, actionId: 1, file: null
java.lang.Exception: Class /opt/jira/jira_jelly_scripts/qa/post_auto_triage.rb could not be found, or could not be compiled
at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.ensureScriptCompiled(ScriptRunnerImpl.groovy:592)
at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.validateAndRunCannedInternal(ScriptRunnerImpl.groovy:394)
at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.runCanned(ScriptRunnerImpl.groovy:371)
at com.onresolve.scriptrunner.runner.ScriptRunner$runCanned$2.call(Unknown Source)
at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction.run(ScriptWorkflowFunction.groovy:83)
at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction$run$2.callCurrent(Unknown Source)
at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction.execute(ScriptWorkflowFunction.groovy:59)
Thanks,
Michael
Post Functions on Issue transitions was it. We found them. The Project, and the action ID lead us right to them. Many thanks.
Michael,
You may have more luck finding where this post-function is configured in your JIRA instance if you upgrade to a more recent version of ScriptRunner. Note: you may have to use a paid version but you can obtain an evaluation license if needed.
With a more recent version you could use the "Script Registry" to help you find where the scripts are being used.
The Script Registry can be found by going to the JIRA Admin console, then choose Add-ons and Built-in Scripts and then you'll find the Script Registry link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In general: it seems to be some postFunction.
How to find requared WF:
It seems that there was a script stored into a file and now JIRA can not find this file.
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.