Forums

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

objectFacade - seems not working anymore

Marco Hasenfratz
Contributor
June 30, 2022

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
Is it possible that this class is not available anymore?
Is there another way to get Insight Attributes Values in a Scriptrunner Script?
We recently updated to:
Jira Service Management 4.22.2
Jira Software 8.22.2
Insight PlugIn: 9.1.11

1 answer

0 votes
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2022

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, confluence administration, confluence admin training, confluence learning path, manage users and permissions, confluence certification, atlassian learning, cloud admin tools, streamline collaboration, confluence admin best practices

🚨New Confluence Admin Course Alert!

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
AUG Leaders

Atlassian Community Events