The Jira Software application keeps being disabled and Advanced Roadmap Plans are missing from the top bar menu
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
Summary
Jira Software keeps uninstalling and Advanced Roadmap Plans won't load after installing or upgrading to Jira version 8.15 or above
Environment
Jira Server/Data Center on any version from 8.15.0
Diagnosis
The application.xml from the support zip shows that the Jira Software is in a disabled state at the moment:
<plugin>
<key>com.atlassian.jira.jira-software-application</key>
<name>Jira Software Application</name>
<version>9.5.0</version>
<vendor>Atlassian</vendor>
<status>DISABLED</status>
<vendor-url>http://www.atlassian.com</vendor-url>
<framework-version>2</framework-version>
<bundled>User installed</bundled>
</plugin>
Notice that one of the plugins of the advanced roadmaps is in enabling state:
<plugin>
<key>com.atlassian.teams</key>
<name>Advanced Roadmaps Team Management</name>
<version>9.5.0</version>
<vendor>Atlassian</vendor>
<status>ENABLING</status>
<vendor-url>http://www.atlassian.com/</vendor-url>
<framework-version>2</framework-version>
<bundled>User installed</bundled>
</plugin>
The Catalina.out revealed that there was an issue with the portfolio plugin since Jira was installed and the portfolio-plugin-9.5.0_1670340292000.jar was missing:
2023-04-12 00:05:31,932+0000 JIRA-Bootstrap WARN [c.a.jira.startup.JiraStartupLogger]
****************************************************************************************************************************************************************************************************
The following plugins failed to load:
com.atlassian.jpo: File must be a jar: /var/atlassian/application-data/jira/plugins/.osgi-plugins/transformed-plugins/portfolio-plugin-9.5.0_1670340292000.jar
****************************************************************************************************************************************************************************************************
The Jira Software application is not able to install because of its dependency on the Advanced Roadmaps plugin:
2023-04-12 00:06:09,783+0000 JIRA-Bootstrap WARN [c.a.jira.startup.JiraStartupLogger]
********************************************************************************************************************************************************************************************************
___ FAILED PLUGIN REPORT _____________________
2 plugins failed to load during Jira startup.
'com.atlassian.jira.jira-software-application' - 'Jira Software Application' failed to load.
Cannot start plugin: com.atlassian.jira.jira-software-application
Unable to resolve com.atlassian.jira.software-application [85](R 85.0): missing requirement [com.atlassian.jira.software-application [85](R 85.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.jpo.obr.install) Unresolved requirements: [[com.atlassian.jira.software-application [85](R 85.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.jpo.obr.install)]
It was loaded from /var/atlassian/application-data/jira/plugins/installed-plugins/jira-software-application-9.5.0.jar
'com.atlassian.teams' - 'Advanced Roadmaps Team Management' failed to load.
Cannot start plugin: com.atlassian.teams
Unable to resolve com.atlassian.teams [184](R 184.0): missing requirement [com.atlassian.teams [184](R 184.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.rm.jpo.api.plans) Unresolved requirements: [[com.atlassian.teams [184](R 184.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.rm.jpo.api.plans)]
It was loaded from /var/atlassian/application-data/jira/plugins/installed-plugins/team-management-plugin-9.5.0.jar
Cause
Since Jira Software 8.15+, the Advanced Roadmaps add-on is bundled with Jira and it will work with Jira Data Center licenses, if we disable this add-on it will cause problems to enable Jira Software. In the above case, we see that the advanced roadmaps plugin had trouble getting loaded earlier and that is hindering Jira's installation.
Solution
Re-install the advanced roadmap plugin in order to enable Jira Software:
- Stop Jira
- Create a backup of the current <JIRA_HOME>/plugins/installed-plugins directory
- move the jars that you see with respect to the following advanced roadmaps to a different temp location (mentioned below)
- Go to <JIRA_INSTALL>/atlassian-jira/WEB-INF/application-installation and find the following jar files:
- jira-portfolio-x.x.x.jar
- portfolio-plugin-x.x.x.jar
- team-management-plugin-plugin-x.x.x.jar
- Copy these three jar files to the current <JIRA_HOME>/plugins/installed-plugins directory
run the following query on the database hosting Jira:
delete * from pluginstate where pluginenabled = 'false';
- Start Jira