How to show a dynamic list of Confluence add-ons in Confluence page?

Is there a way to create a dynamic list of Confluence add-ons in a Confluence page. For example using Deck of Card, with each card being a sql query showing friendly names of the add-ons? I know about the PLUGINDATA table, but I would prefer user friendly names rather that the PLUGINKEY. Is there a way to do this? 

1 answer

This is actually quite easy to do with JSON Table Macro. I will publish an example of this soon, but, unfortunately it requires a slight modification to the support (LIBSCRPT-48) as the response from the <base_url>/rest/plugins/1.0/ api is not indicated as json.

In the meantime, you can download the data to an attachment for display.

 

Thanks for that Bob. I just checked our strategic instances and we have this installed. A Confluence example would be very helpful please?smile

Good. So just download the results of the rest url and attach to a page. Use the json-table macro and point to the attachment. That will get you by until we can release an update that will get it directly. Use Insert -> Markup with the following. Temporarily modify it for the attachment.

{json-table:url=rest/plugins/1.0/|paths=plugins|fieldPaths=name,key,version,description,vendor.name,static,userInstalled,usesLicensing,enabled|user=automation|password=*******}
{json-table}

Thank you, that worked a treat. What is the time frame for this release, is there a ticket for this I could vote on? Additionally, our instance is SSL so we'll need credentials to make the REST call. Is it possible to pick up SSO credentials?

Watch LIBSCRPT-48. We don't have a timeframe for a release, but should have a snapshot in the near term. Yes, we should be able to access without credentials for a local (same server) request. Will confirm that when testing. In that case, only viewers that have admin access will be able to see anything.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,164 views 20 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you