Jira upgrade fails with error minimum build number of 45 required

Still need help?

The Atlassian Community is here for you.

Ask the community

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

The workaround in this article is valid only for the versions specified. It is not valid for upgrades to later versions. For new Jira versions please refer to Jira software installation on top of Jira core fails with a minimum build number of 45.

Problem

When upgrading your instance to JIRA 7.1.0

  • The following appears in the atlassian-jira.log
[c.a.s.core.upgrade.PluginUpgrader] Upgrade failed: This version of JIRA Agile requires a minimum build number of #45 in order to proceed. The latest upgrade task to have been successfully completed is #24. You must uninstall this version of JIRA Agile and attempt an upgrade via an intermediary version.
java.lang.IllegalStateException: This version of JIRA Agile requires a minimum build number of #45 in order to proceed. The latest upgrade task to have been successfully completed is #24. You must uninstall this version of JIRA Agile and attempt an upgrade via an intermediary version.
	at com.atlassian.greenhopper.upgrade.AbstractGhUpgradeTask.checkMinimumDataRequirement(AbstractGhUpgradeTask.java:95)

Diagnosis

Diagnostic Steps

  • Verify from the logs, if the JIRA Agile is older than JIRA AGILE 6.4.0 prior to the upgrade: 

     JIRA Agile Run History
        
        	JIRA Agile v5.10.5.1 (e6c4c0932fc2) started at 13 Jul 2012 10:56
        
        	JIRA Agile v6.0.2 (5867fd92d6a2) started at 03 Sep 2012 01:51
        
        	*JIRA Agile v7.1.18 (12a20403398fa394) started at 24 Feb 2016 04:25
  • In above example, the JIRA Agile is on 6.0.2 prior to upgrade to 7.1.0

Cause

Upgrade task 45 was introduced in JIRA Agile 6.4.0. As a result, Agile versions that are older than 6.4.0 cannot upgrade directly to Agile 7.1.0. It must upgrade to an intermediary version in the range of 6.4.0 and 6.7.x (our latest 6.7.x release is 6.7.16). This is tracked under  JSW-12792 - Getting issue details... STATUS .

Workaround

  1. Navigate to your <JIRA_HOME>/plugins/installed-plugins folder and move the jira-greenhopper-plugin-7.x.y.jar file to a temporary location (the exact version of this plugin depends on what version of JIRA you upgraded to). Make a note of what that location is since you will need it later.
  2. Download the latest JIRA Software 7.0.x obr file from this location: https://marketplace.atlassian.com/download/plugins/com.atlassian.jira.jira-software-application/version/700010
  3. Unpack the obr file and grab the jira-greenhopper-plugin-7.0.10.jar file from the dependencies folder.
  4. Place the jira-greenhopper-plugin-7.0.x.jar  file in your <JIRA_HOME>/plugins/installed-plugins folder.
  5. Restart JIRA. This will run your Agile data through the necessary upgrade tasks. When JIRA comes back up, you should be able to access Boards, etc.
  6. Navigate to Administration > Add Ons > Manage Ons and upload the jar file in step 1 from its temporary location using the Upload add-on link near the top of the page. 

Resolution

  1. Upgrade JIRA to 6.4, and install JIRA Agile 6.7.16.
  2. Upgrade that instance to 7.0.X then to the target version.
  3. Additional details on upgrade task requirements can be found in the Upgrade Notes And the following Upgrade Guide
    1. Upgrade Notes
    2. Upgrade Guide for JIRA

If you're using JIRA and JIRA Agile, and you want to upgrade to the latest version of JIRA Software, we recommend you upgrade to JIRA Software 7.0 first. We recommend the following upgrade path:

JIRA + JIRA AGILE  JIRA SOFTWARE 7.0 → JIRA SOFTWARE 7.2 → (latest version)

Always make sure to review the Release notes and Upgrade notes for all major version between your current and desired version before performing an upgrade


Description

When upgrading your instance to JIRA 7.1.0 the Upgrade fails with the error, This version of JIRA Agile requires a minimum build number of #45 in order to proceed.

ProductJira
PlatformServer
Last modified on Jan 8, 2024

Was this helpful?

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