Migrating Scriptrunner for Jira 3.14 to Linkage Error for SimpleScriptedCondition

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  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 /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?

1 answer

1 accepted

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.  wink

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

440 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you