Forums

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

Multiple Plugins with Canned Scripts not working

Robin Sadlo August 9, 2019

Hey,

Our Apps are running on the following versions:

Jira: 8.2.4

Scriptrunner: 5.5.9.1-jira8

 

We have two independent Script Plugins, which both provide some canned Post Functions.

After the Upgrade to Jira 8 i get the following error, when trying to add a Script Post Function:

On the "Select a ScriptRunner workflow function." page i can only see the canned scripts from one plugin and in the logs i get this error for each canned script of the other plugin:

Failed to instantiate com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CreateReportPostFunction, No signature of method: org.slf4j.impl.Log4jLoggerAdapter.isEnabledFor() is applicable for argument types: (org.apache.log4j.Level) values: [DEBUG]
groovy.lang.MissingMethodException: No signature of method: org.slf4j.impl.Log4jLoggerAdapter.isEnabledFor() is applicable for argument types: (org.apache.log4j.Level) values: [DEBUG]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at com.onresolve.scriptrunner.runner.rest.AbstractBaseRestEndpoint$_convertClassesToJson_closure1$_closure5.doCall(AbstractBaseRestEndpoint.groovy:125)
at sun.reflect.GeneratedMethodAccessor670.invoke(Unknown Source)

 

I've moved through every possibile way of using the loggers. From groovys @Log4j to Lomboks  @Log4j and also initializing it by hand with

def log = Logger.getLogger(this.getClass())

 

Now im running out of ideas what to try...

 

Kind regards

Robin

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events