Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Running JIRA 6.4.12 with ScriptRunner 3.1.4 on my little test server. I'm making quite extensive use of scriptrunner of workflow conditions, validators and post-functions. Works great. My IT group decided to upgrade JIRA from 6.1 to 6.4.12 but they decided to go with version 4.1.3.10. The first problem, I'm running into is my workflow transitions with ScriptRunner based conditions are not visible so I'm assuming the conditions are failing. I check the log file and I see:
2016-04-05 14:32:47,595 http-bio-8443-exec-1 WARN 20022993 872x69734x1 yqdjn4 192.168.109.99 /browse/POCM-195 [com.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.ClassFormatError - Illegal class name "com/onresolve/jira/groovy/canned/workflow/conditions/SimpleScriptedCondition/reporter-ValidatorOnlyCondition$run" in class file com/onresolve/jira/groovy/canned/workflow/conditions/SimpleScriptedCondition/reporter-ValidatorOnlyCondition$run'.
So is SimpleScriptedCondition no longer a valid class? Is there a replacement? Some documentation on how to migrate? Any other surprises for validators or post-functions or even behaviours and scripted fields?
This is a recent bug: https://productsupport.adaptavist.com/browse/SRJIRA-729
If you can rename it without hyphens it should be fine. Sorry...
Thanks for the quick response.
I got several static analysis warnings but functionally, it is working.
I'll cleanup the warnings later.
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.