I am creating a few Script Runner built in scripts, rest end point scripts and custom fields scripts. These scripts have code that can be reused, I am looking for the best way to share this code between the scripts. Currently I am creating the code in Java and uploading the JAR file to the JIRA class path. This works but requires a JIRA restart each time the reusable code is updated and re-upload of the JAR file.
Any ideas would be appreciated!
Hello @Erik Saline
I am also recommend read this articles
First one about how to create helpers classes to avoid code duplication.
And second one step-by-step guide how to create scriptrunner-plugin.
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erik,
Have you looked at creating a ScriptRunner script plugin as described here in order to see if this will meet your requirements.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.