Upgrading Jira - will scripted functions all be retained?

m
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2012

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
Answer accepted
Marcus Silveira
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 17, 2012

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
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2012

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 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2012

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
TAGS
AUG Leaders

Atlassian Community Events