Upgrade to version 7.2x of Jira server
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Purpose
To help provide a detailed guide to help with the upgrade process of large scale and business critical Jira environments to Jira 7.2.latest. Other methods for upgrade also exist, see here: Upgrading Jira applications
Preparation
Before You Start
- Check Jira 7.2 Supported Database Versions:
- Oracle 12c
- MySQL 5.5, 5.6
- PostgreSQL 9.2, 9.3, 9.4
- Microsoft SQL Server 2012, 2014
- Check plugin compatibility
Within your current installation of Jira, go to Administration > Add-ons > Manage add-ons. At the bottom of the page, there is a link for Jira update check.
- Third-party plugins may have upgrade requirements, please ensure to be familiar with these requirements as it may require additional intermediate upgrade steps
- Check other Atlassian product compatibility, see Application links version matrix. Jira 7.2 uses AppLinks 5.2.3, based on that, minimal versions for Jira 7.2 for other applications:
- Bamboo 5.10+
- Confluence 5.6+
Crucible/Fisheye 3.6+
- Stash 3.4+
- Review the Recommended Readings (links to the right)
Optimizing the Upgrade Process
These steps will help reduce the amount of time needed for the full upgrade process to complete
Disable Upgrade Index and Automated Upgrade Backup
Modify the jira-config.properties file and add:
upgrade.reindex.allowed=false jira.autoexport=false
- (For Jira <= 7.2.7) Apply the workaround for JRA-61383. In large installations the upgrade rename of "Agile" fields to "Software" increases the length of your outage. Doing this via SQL is fast and low risk so long as you test your upgrade procedure in advance.
Testing
We strongly recommend performing your upgrade in a test environment first. Do not upgrade your production Jira server until you are satisfied that your test environment upgrade has been successful. If you have any problems with your test environment upgrade which you cannot resolve, create an issue at our support site so that we can assist you.
Details: Establishing staging server environments for Jira applications.
On this page
Upgrade Steps for Jira Software
Before Proceeding
- Using Jira Agile ? - Ensure to first upgrade the Jira Agile add-on to the latest version compatible with your version of Jira. Jira Agile version must be 6.4.5 or greater before proceeding.
Using Jira Service Management? - Ensure to first upgrade to Jira to version 7.0 and Jira Service Management to version 3.0 (or later in the 7.0.X and corresponding 3.0.X range)
- Third-party plugins may have upgrade requirements, please ensure to be familiar with these requirements as it may require additional intermediate upgrade steps
Supported Database Versions:
- Oracle 12c
- MySQL 5.5, 5.6
- PostgreSQL 9.2, 9.3, 9.4
- Microsoft SQL Server 2012, 2014
Upgrading to Jira Software 7.0.latest
- Stop the current Jira instance
- Make a copy of the Jira database to a new database
- Make a copy of the Jira_HOME to a new location
- Please check that all Jira bundled plugins are enabled (eg: jira-importers-plugin). Check pluginstate table.
- Remove the
plugins/
folder located in the new Jira_HOME- Performing the upgrade without plugins has been found to be more reliable and faster
- If you run Jira DataCenter, also remove (and backup) <Shared>/
plugins/
folder
- Modify the
dbconfig.xml
file in the newly copied Jira_HOME- Configure the file to point to the newly copied database
- Download the latest Jira Software 7.0.x Archive version
- Extract the Jira Software 7.0.latest archive to a new target Jira_INSTALL folder
- Configure your Jira Home folder path and point to the newly copied Jira_HOME
Create a jira-config.properties file in your Jira Home folder (Edit the jira-config.properties file in Jira server) and add the options below:
upgrade.reindex.allowed=false jira.autoexport=false
- If the file already exists, simply add these lines to the start of the file
- These parameters will disable the automated upgrade backup and automated index after upgrade
- Copy memory allocation settings and any other custom parameters you deem necessary from the previous installation to the new one, as described in Setting properties and options on startup
- Start Jira and review the logs to ensure the upgrade completed successfully.
- Navigate to Cog Icon > Applications > Version & Licenses.
- Click on Install in the Jira Service Management application. This should install version 3.0.11
- Re-install plugins via the Cog Icon > Add-ons > Find new add-ons
If prefered, upload the add-ons manually via Cog Icon > Add-ons > Manage add-ons > Upload add-on
Not all plugins are compatible with Jira 7.2.latest. Ensure to verify compatibility first!
- Test and ensure that the instance is functioning to satisfaction
- Perform a
- Proceed to next section for upgrading to 7.2.latest
Upgrading to Jira Software 7.2.latest
- Stop the current Jira instance
- Make a copy of the Jira database to a new database
- Make a copy of the Jira_HOME to a new location
- Remove the
plugins/
folder located in the new Jira_HOME- Performing the upgrade without plugins has been found to be more reliable and faster
- If you run Jira DataCenter, also remove (and backup) <Shared>/
plugins/
folder
- Modify the
dbconfig.xml
file in the newly copied Jira_HOME- Configure the file to point to the newly copied database
- Download Jira Software 7.2.latest Archive version
- Extract your Jira Software 7.2.latest to a new target Jira_INSTALL folder
- Configure your Jira Home folder path and point to the newly copied Jira_HOME
Create a jira-config.properties file in your Jira Home folder (Edit the jira-config.properties file in Jira server) and add the options below:
upgrade.reindex.allowed=false jira.autoexport=false
- If the file already exists, simply add these lines to the start of the file
- These parameters will disable the automated upgrade backup and automated index after upgrade
- Copy memory allocation settings and any other custom parameters you deem necessary from the previous installation to the new one, as described in Setting properties and options on startup
- Start Jira and review the logs to ensure the upgrade completes successfully
- If using Service Management, navigate to Cog Icon > Applications > Version & Licenses
- Update/Install the Jira Service Management application to the latest version
- Re-install plugins via file the Cog Icon > Add-ons > Find new add-ons
If prefered, upload the add-ons manually via Cog Icon > Add-ons > Manage add-ons > Upload add-on
Not all plugins are compatible with Jira 7.2.latest. Ensure to verify compatibility first!
- Test and ensure that the instance is functioning to satisfaction
- Restart Jira
- Perform a
Recommended Reading
Jira 7.2 Platform Release Notes- Jira Core 7.2.x release notes
- Jira Software 7.2.x release notes
- Jira Service Management 3.2.x Release Notes
Upgrade Notes
Bugs Fixed in Jira Software 7.2
Suggestions Implemented in Jira Software 7.2
Known Problems
Problem | Workaround |
---|---|
JSD-4220
-
Getting issue details...
STATUS
| This is a one-time occurrence until Jira is restarted. |
JSD-4239
-
Getting issue details...
STATUS
| Upgrade to Jira 7.0.latest + Service Management 3.0.11 before then upgrading to Jira 7.2.latest. |
JRA-62669
-
Getting issue details...
STATUS
| Access the index admin page and use the Copy the Search Index from another node functionality. |
JRA-63239
-
Getting issue details...
STATUS
| The workaround is to modify the export URL and set a value. Please refer to the bug report for full details. |
JRA-63189
-
Getting issue details...
STATUS
| Currently, Structure Plugin has been identified to be able to prevent Jira Data Center from locking the index. The structure has fixed this as of v3.3.3, please upgrade. |
JRA-61383
-
Getting issue details...
STATUS
| Workaround is to update the changes in the Jira database before upgrading. Please refer to the bug report for full details. FIXED as of Jira Software 7.2.8 |
JSW-13355
-
Getting issue details...
STATUS
| The problem is due to querying for unarchived versions. Ensure to archive any versions that are not actively used by the system to help improve speeds. |
Managed Sprints Permission | Users may experience Sprint permissions issues as Jira introduced the "Manage Sprints" permission. This may result in users noticing the inability to perform Sprint actions. If problems arise, please check the permissions for users: |
JSW-13530
-
Getting issue details...
STATUS
| Re-index Jira. |
JRA-61007
-
Getting issue details...
STATUS
| Using database native backup tools when creating backups. If it is required that Jira can generate backup XMLs, use the Oracle 11g driver. |
JRASERVER-60604
-
Getting issue details...
STATUS
| Update bundled Oracle driver from 12.1.0.1 to 12.2.0.1 version |
JRASERVER-64095
-
Getting issue details...
STATUS
| See workaround section in the ticket. |
JRASERVER-29310
-
Getting issue details...
STATUS
| See workaround section in the ticket. |