When upgrading Jira to v5.1+ from v5.0 will all scripted post functions be retained or will they need to be re-applied?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.