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
Accepted answer

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,

Marcus

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.

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 Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

412 views 0 3
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