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!