How to list user-installed apps or plugins in Jira
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
The Manage add-ons or Manage appspage lists apps (formerly known as add-ons or plugins) installed in your Atlassian application.
This is the main page for viewing, updating, and configuring apps. However, users may want to know where the installed apps in Jira can be found outside UI.
Environment
Jira Core
Versions 7, 8, and 9.
Jira Software
Versions 7, 8, and 9.
Jira Service Management
Versions 3, 4, and 5.
Solution
There are two options we can leverage to get this information.
Solution 1:
We can use xmlstarlet or GREPs to filter the apps in the application.xml file which can be created from the support.zip.
How to get user-installed plugins name info outside of UI:
Generate a support.zip;
Unzip the content;
Using the terminal/console, go to the application-properties folder (inside the support.zip already unzipped);
Use the xmlstarlet app to filter the content by "User installed";
1
xmlstarlet sel -t -m '//plugins/plugin[bundled="User installed"]' -v name -o " " -v version -n application.xml | sort -k1,1
Such plugins are located in $JIRA_HOME/plugins/installed-plugins. If the plugin is in this directory, it's a user-installed plugin.
Solution 2:
An another way of performing this is by making a request against the REST Plugin Module at /rest/plugins/1.0/.
For example, you can use either of the the following methods to return a listing of installed plugins in Jira:
Request using sysadmin credentials:
1
GET /rest/plugins/1.0/
Request using curl commands:
1
2
3
4
5
# sample curl request for localhost
curl http://localhost:8080/jira/rest/plugins/1.0/ --header 'Authorization: Basic changeme
# sample alternative curl request for localhost
curl -u user:password http://localhost:8080/jira/rest/plugins/1.0/
Was this helpful?