Is there any command/script the will list all user installed plugins on a Confluence instance?
Thank you.
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.
#!/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"])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you do not administrative permissions and the feature is not disabled, you can also retrieve a list of plugins via the 500page:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but Atlassian turned off the plugins listing on that public instance ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how do i enable the listing so that the 500page.jsp works? thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The setting is located on the security configuration page (checkbox with 500 in the description ;-))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is it 4.4 specific setting? - I do not see it in my 4.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Macro Usage Stats plugin v1.0 is however not stable currently and it works only for Confluence 3.5.x.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.