Upgrade Guide for Jira Data Center 7.2

Still need help?

The Atlassian Community is here for you.

Ask the community

About this guide

This guide is specific for JIRA Data Center. If you are looking to upgrade your JIRA Server to version 7.2, follow the Upgrade Guide for JIRA 7.2 instead.

Purpose

The purpose of this guide is to facilitate the upgrade of your JIRA Data Center installation from 6.4.x to 7.2.latest by having all the details summarized in a single page with step by step instructions. Other upgrade methods are available on the Upgrading JIRA Applications documentation.

Preparation

Our recommendation is that you use a single node to run the upgrade for simplicity and only start the other nodes once the upgrade is already complete as it simplifies the entire process.

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 Reading (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

  • (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.





Upgrade Steps for JIRA Software

Before Proceeding

  • Using JIRA Agile? - Ensure to first upgrade the JIRA Agile add-on to version 6.7.12 or later
  • Using JIRA Service Desk? - Ensure to first upgrade to JIRA to version 7.0 and JIRA Service Desk 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

Upgrading to JIRA Software 7.0.latest

(info) Required if upgrading from JIRA 6 with Service Desk. Skip to next section if not using Service Desk.

  1. Stop all running nodes
  2. Make a copy of the JIRA database to a new database
  3. Make a copy of the JIRA_HOME to a new location
  4. Remove the plugins/ folder located in the new JIRA_HOME
    1. Performing the upgrade without plugins has been found to be more reliable and faster
    2. Also remove (and backup) <Shared>/plugins/ folder 
  5. Modify the dbconfig.xml file in the newly copied JIRA_HOME
    1. Configure the file to point to the newly copied database
  6. Download the latest JIRA Software 7.0.x Archive version
  7. Extract the JIRA Software 7.0.latest archive to a new target JIRA_INSTALL folder
  8. Configure your JIRA Home folder path and point to the newly copied JIRA_HOME
  9. Create a jira-config.properties file in your JIRA Home folder (How to edit the jira-config.properties file) and add the options below:

    upgrade.reindex.allowed=false
    jira.autoexport=false
    1. If the file already exists, simply add these lines to the start of the file
    2. These parameters will disable the automated upgrade backup and automated index after upgrade
  10. 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
  11. Start JIRA and review the logs to ensure the upgrade completed successfully.
  12. Navigate to Cog Icon > Applications > Version & Licenses.
  13. Click on Install in the JIRA Service Desk application. This should install version 3.0.11
  14. Re-install plugins via the Cog Icon > Add-ons > Find new add-ons
    1. If prefered, upload the add-ons manually via Cog Icon > Add-ons > Manage add-ons > Upload add-on
      (warning) Not all plugins are compatible with JIRA 7.0.latest. Ensure to verify compatibility first!
  15. Test and ensure that the instance is functioning to satisfaction
    1. Perform a 
  16. Proceed to next section for upgrading to 7.2.latest

Upgrading to JIRA Software 7.2.latest

  1. Stop the current JIRA instance
  2. Make a copy of the JIRA database to a new database
  3. Make a copy of the JIRA_HOME to a new location
  4. Remove the plugins/ folder located in the new JIRA_HOME
    1. Performing the upgrade without plugins has been found to be more reliable and faster
    2. Also remove (and backup) <Shared>/plugins/ folder 
  5. Modify the dbconfig.xml file in the newly copied JIRA_HOME
    1. Configure the file to point to the newly copied database
  6. Download JIRA Software 7.2.latest Archive version
  7. Extract your JIRA Software 7.2.latest to a new target JIRA_INSTALL folder
  8. Configure your JIRA Home folder path and point to the newly copied JIRA_HOME
  9. Create a jira-config.properties file in your JIRA Home folder (How to edit the jira-config.properties file) and add the options below:

    upgrade.reindex.allowed=false
    jira.autoexport=false
    1. If the file already exists, simply add these lines to the start of the file
    2. These parameters will disable the automated upgrade backup and automated index after upgrade
  10. 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
  11. Start JIRA and review the logs to ensure the upgrade completes successfully
  12. If using Service Desk, navigate to Cog Icon > Applications > Version & Licenses
    1. Update/Install the JIRA Service Desk application to the latest version
  13. Re-install plugins via file the Cog Icon > Add-ons > Find new add-ons
    1. If prefered, upload the add-ons manually via Cog Icon > Add-ons > Manage add-ons > Upload add-on
      (warning) Not all plugins are compatible with JIRA 7.2.latest. Ensure to verify compatibility first!
  14. Test and ensure that the instance is functioning to satisfaction
  15. Restart JIRA
  16. Perform a 

Adding nodes to the JIRA Data Center Cluster

Once you have the JIRA 7.2.latest properly installed and indexed, it's time to begin adding more nodes to the cluster.

  1. Copy the JIRA_INSTALL directory from the first node
  2. Copy the JIRA_HOME from the first node
  3. Make a copy of the SHARED_HOME
  4. Configure your JIRA Home folder path and point to the newly copied JIRA_HOME
  5. Edit the cluster.properties to reflect the configuration details for this specific node and point to the newly copied SHARED_HOME
  6. 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
  7. Start JIRA and review the logs to ensure the indexes are replicating successfully
  8. Test and ensure that all nodes are functioning to satisfaction

(info) If your cluster has more than one node, follow the steps of the "Adding nodes to the JIRA Data Center Cluster" section for each additional node. Remember to start one node at a time.

Quick Links:


List of Changes

Bugs Fixed in JIRA Software 7.2

Quick expand


Key Summary P Status
Loading...
Refresh

Suggestions Implemented in JIRA Software 7.2

Quick expand


Key Summary P Status
Loading...
Refresh

Last modified on Nov 15, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.