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.
Manage Confluence like never before! This new learning path teaches you how to manage content, users, and permissions while optimizing user experience. Built for admins at all levels who want to confidently lead and unlock more innovative collaboration.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.