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 widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

343 views 2 5
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