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

2 votes

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,


2 votes

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.

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

170 views 0 4
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