Script runner downgrade


I've 'missedclicked' on the paid upgrade button on the Addon Jira's management page.
It result on an immediate upgrade to free trial of ScriptRunner.

I was expecting to be redirected on the pricing page instead of launching a free trial upgrade WITH NO CONFIRMATION PROMPT.
I'm just an administrator. Any priced tool I want to use is subject to prior financial approval.
Many scripts are already written with SR. I can't afford to loose theses functionalities.

The new trial version runs 80 moduls while the previous was running 93. I can't afford to loose any functionality
Could you tell how to downgrade to prior version please .

Geoffrey Laparra

4 answers

1 accepted

Uninstall, then get the latest compatible free version from, then upload that.

In general, it's hard to know if you can downgrade a JIRA add-on. The data isn't removed by uninstalling them in general. So it should be fine to uninstall a later version and upload and earlier version. The hard part is knowing if the schema of the data was changed by the upgrade. Very few add-on upgrades make this explicit. 

I'd love to see some kind of flag on the list of versions of each add-on that says "we know that upgrading to this version means you won't be able to downgrade". With a proviso saying that the flag not being there is no guarantee of being able to downgrade

Yep, good points, and the KB article makes no mentioned of schema upgrades etc. The only way is to ask really. But I can categorically say there have been no upgrade tasks since it became paid-for.

Thank you for the last precision Jamie.

I'm not sure if you can downgrade add-ons via the UI or UPM (I have not tried it). What I did before was to uninstall/install the old version but this may remove all your SR functions in place too.

Maybe you can try removing the SR JAR in the System and replacing it with something else? I found this reference ( You may need to clear all the plugin cache to avoid any issues (JIRA_HomePlugins folder. Delete the '.osgi-plugins' and the '.bundled-plugins' folders. These 2 folders will be rebuilt when JIRA restarts). I have not tried this myself too.

The Adaptavist people can give you an official answer though smile

it doesn't remove any of your stored data, it should all be fine.

The downgrade by uninstalling latest version and reinstalling prior version worked fine.
I just used UPM to complete these two steps.
My Workflows' inline scripts are operational. 

Thank you all for your help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,397 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you