I'm attempting to set up a local development environment to test scripts before pushing them to the corporate test server. I've followed the instructions at Setting up a dev environment, and everything is working splendidly. However, each time I use the Maven jira:debug, it automatically installs version 5.4.7 of the Adaptavist ScriptRunner plugin. This is causing issues with the workflows I've copied from the corporate Jira, which is using plugin version 5.1.6.2. Each time I launch Jira, I have to uninstall the newer version and manually install the older version. This is very inconvenient, so I was wanting to know how to stop this behavior. Thank you in advance for any assistance.
Hi,
In sample project, open Jira module and find pom.xml (not in root of the project, but in jira folder). In "properties" tag place this:
<scriptrunner.version>5.1.6.2</scriptrunner.version>
What you do, is you override the same tag buried in one of parent pom.xml file.
Take into consideration that for now you can't set ScriptRunner version higher than 5.4.7 without additional manipulations with pom.xml file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.