The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

deleted

it-lics@opends.tech
February 8, 2022

deleted

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
February 8, 2022

I replied on your other post too... but here, the main issue I see and I should warn you about is that you are trying to use ScripRunner notation (@WithPlugin and @PluginModule) inside an Insight groovy script.

That won't work.

If you have scriptrunner, I think you should use custom scripted postfunctions for all your workflow automation that need to touch insight object. The scriptrunner implementation of groovy is much more powerful and feature rich. Also it should be more performant becuase it doesn't re-compile scripts at each use.

The only time I use Insight Groovy notation, is in Insight Groovy script (associated to insight object automation).