Script runner downgrade

Hello,

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

1 vote

Uninstall, then get the latest compatible free version from https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner, then upload that.

1 vote

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 (https://confluence.atlassian.com/display/UPM/Downgrading+an+Add-on+to+an+Earlier+Version). 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

225 views 1 18
Join discussion

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