Upgrading Jira - will scripted functions all be retained?

When upgrading Jira to v5.1+ from v5.0 will all scripted post functions be retained or will they need to be re-applied?

3 answers

1 accepted

This widget could not be displayed.

Hi Matthew,

If you are doing the upgrade and keeping all your paths, you'll just need to make sure you have the plugin installed after the upgrade.

If you are changing the location of your JIRA application, you'll need to copy the scripts and set the new location on the plugin. Please see more information about this here.

Hope this helps,


This widget could not be displayed.

The post functions will be retained but whether the scripts needs any change depend on the APIs used. You might want to test them.

Also, make sure the plugin is upgraded to the latest version compatible with 5.1.

This widget could not be displayed.

Both the other answers are correct. But to add more detail:

If your scripts are "inline", then they are in the database and will be retained.

If you are specifying a path, and it's an absolute path, they will carry on working. If you specify a path relative to the working directory, and you are changing that, then you will need to update them. Now is a good time to change that, by eg using a relative path that goes above your working directory, or creating a symlink called eg "scripts" under the home dir.

As Jobin says you should test the upgrade first. This is true if you have any plugins you have written yourself, including script functions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
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