We get a compiling error on a Scriptrunner custom Script which worked before:
The script could not be compiled:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script12.groovy: 4: unable to resolve class com.riadalabs.jira.plugins.insight.services.model.ObjectBean @ line 4, column 1. import com.riadalabs.jira.plugins.insight.services.model.ObjectBean // to handle inSight ^ 1 error
I'm not sure how you were ever able to access it directly.
Normally, in scriptrunner, you need to have the following in your script to allow imports from other plugins:
import com.onresolve.scriptrunner.runner.customisers.WithPlugin
@WithPlugin('com.riadalabs.jira.plugins.insight') insightPlugin
But I'm on Jira 8.13.x and Insight 8.10.x, so I can't be sure that as part of the integration of Insight, they haven't changed some of the package path.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.