Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where do I find documentation on com.onresolve.scriptrunner.canned.jira.utils.ConditionUtils

LoupGarou September 25, 2020

We have recently upgraded out JIRA platform from 7 to 8. We have Scriptrunner 5.7.1.1-p5 installed. Because of work policies, I'm unable to post any of our code. The scripts have been in use for several years, from my understanding. None of what I'm asking about is in regards to new code. This stuff should be working and I cannot fathom why it isn't. The below errors are the only ones I'm finding in the atlassian-jira.log files.

 

There are several scripts that seem to be crapping out. One of the errors is with the ConditionUtils.getConditionParameter() call. We are seeing the following error:

"Uncaught exception thrown by REST service: No such Property: getConditionParameter for class com.onresolve.scriptrunner.canned.jira.utils.ConditionUtils"

Is there any documentation online for this class? It's apparently not easy to google, so I'm hoping someone here can help.

 

If I comment out the getConditionParameter() line and attempt to execute the request I get the following error:

"org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.XXXXXXXXXX.main() is applicable for argument types: ([Ljava.lang.String;) values: [[]]"

 

Any and all help in this matter, even though my usage may appear vague, would be immensely appreciated.


Thanks

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
September 25, 2020

Hi! 

Please, open script registry and check the changed methogs/api/imports via next link

https://scriptrunner.adaptavist.com/6.6.0/jira/releases/UpgradingToJira8.html

 

Cheers,

Gonchik Tsymzhitov

LoupGarou September 25, 2020

Good to know, but when I attempt that, I'm getting the following:

 

java.lang.NullPointerException: Cannot get property 'scriptPath' on null object at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getBehavioursInfo_closure8$_closure11.doCall(ScriptRegistry.groovy:262) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getBehavioursInfo_closure8.doCall(ScriptRegistry.groovy:261) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.getBehavioursInfo(ScriptRegistry.groovy:243) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.execute(ScriptRegistry.groovy:68) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.execute(ScriptRegistry.groovy)

 

Is there a setting somewhere that needs to be tweaked?

Gonchik Tsymzhitov
Community Champion
September 27, 2020

Could you check the app work well? all components of app up and running?

LoupGarou September 29, 2020

There are only 2 modules in the Adaptivist Scriptrunner app that didn't enable:

 

"Canned comments resource" and "Execute a ScriptRunner script action for Automation for Jira"

Suggest an answer

Log in or Sign up to answer