Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

List of user installed plugins

Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2012

Is there any command/script the will list all user installed plugins on a Confluence instance?

Thank you.

5 answers

1 accepted

2 votes
Answer accepted
MartinS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2014

You can also write a script to parse the output of the UPM REST API:

https://ecosystem.atlassian.net/wiki/display/UPM/UPM+REST+API

curl $BASE_URL/rest/plugins/1.0/

will give you all plugins that are installed. You can filter which ones were user installed by the userInstalled key, e.g. with jq

curl $BASE_URL/rest/plugins/1.0/ | jq ".plugins | map(select(.userInstalled))"

 

N.B.: this does not only work with Confluence, but should work with JIRA and Stash (probably also Fisheye/Crucible) as well.

1 vote
Ekran September 28, 2020
#!/usr/bin/env python3

# list-apps.py - authored by Pål D. Ekran, Mon Sep 28 15:32:43 CEST 2020
# -------------------------------------------------------------------------

# uses the api to fetch a list of user installed apps and versions

from getpass import getpass,getuser
import requests

dsite="confluence.hostname.com" # default site/hostname (DNS name)
api='/rest/plugins/1.0/' # api url

csite=input("Site/hostname ["+dsite+"]: ")
if csite=="":
    csite=dsite
cuser=input("Username ["+getuser()+"]: ")
if cuser=="":
    cuser=getuser()
cpasswd=getpass("Password: ")
print ()

req=requests.get("https://"+csite+api,auth=(cuser,cpasswd))
jdata=req.json()

for app in jdata["plugins"]:
    if (app["userInstalled"]==True):
        print (app["name"]+": "+app["version"])

1 vote
NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2012

If you do not administrative permissions and the feature is not disabled, you can also retrieve a list of plugins via the 500page:

http://yourserver.com/path/to/confluence/500page.jsp


					
				
			
			
			
				
			
			
			
			
			
			
		
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 2, 2012
NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2012

Yes, but Atlassian turned off the plugins listing on that public instance ;-)

Andrei [errno]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2012

how do i enable the listing so that the 500page.jsp works? thanks

NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2012

The setting is located on the security configuration page (checkbox with 500 in the description ;-))

Andrei [errno]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2012

is it 4.4 specific setting? - I do not see it in my 4.3

NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2012

@webwesen
Um, talking about Confluence here :-) But the 500page.jsp also exists in JIRA. AFAIK the additional information cannot be disabled there so you should see the plugins list...

0 votes
Fabian Lopez January 3, 2012

if you also need to see how the macro are used on your confluence environment you can install the Macro Usage Stats plugin from Comalatech https://plugins.atlassian.com/plugin/details/268?versionId=660

or Macro Usage from Atlassian https://plugins.atlassian.com/plugin/details/373502?versionId=373503

hsuhailah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2012

Macro Usage Stats plugin v1.0 is however not stable currently and it works only for Confluence 3.5.x.

Deleted user January 18, 2012

If looking at specific usage, you can also use the Confluence search to do it without any plugins (pre-4.0, at least).

Sarah Maddox's blog post covers how to do it pre-4.0.

http://ffeathers.wordpress.com/2011/11/04/how-to-search-confluence-for-usage-of-a-macro/

0 votes
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 2, 2012

There's no script that I'm aware of, but you can simply browse to Confluence Admin | Plugins to see which plugins are user installed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events