Forums

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

Use older version of scriptrunner with Maven jira:debug

Zachary Sistrunk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2019

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.

1 answer

0 votes
Anton Chemlev - Toolstrek -
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.
August 8, 2019

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.

Suggest an answer

Log in or Sign up to answer