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:
userInstalled
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.
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.
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
Do you mean like this?http://confluence.atlassian.com/500page.jsp
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
Yes, but Atlassian turned off the plugins listing on that public instance ;-)
how do i enable the listing so that the 500page.jsp works? thanks
Macro Usage Stats plugin v1.0 is however not stable currently and it works only for Confluence 3.5.x.
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/
#!/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 versionsfrom getpass import getpass,getuserimport requestsdsite="confluence.hostname.com" # default site/hostname (DNS name)api='/rest/plugins/1.0/' # api urlcsite=input("Site/hostname ["+dsite+"]: ")if csite=="": csite=dsitecuser=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"])
It looks like you're new here. Sign in or register to get started.