List labels under a page (not space).

I want to list all labels under a page (not space) and all its childs pages . I am aware of the listlabels macro, but you can only specify which space, not page.

Thanks in advance.

1 answer

You can generate a set of the labels used on all descendent pages with the reporter plug-in. It will not be a single unique set of labels, however. Maybe it gives you what you are looking for.

--------------------

{report-table} 

{content-reporter:spaces=@self|types=+page|scope=@self > descendents} 
{text-filter:content:labels|minLength=1}
{text-sort:content:labels} 
{content-reporter} 

{report-column:title=Labels}{report-info:content:labels}{report-column} 

{report-table} 
 
-----------------

Thanks for the reply Kevin! I tested the code, but as you stated, it doesn't display single unique set of labels, so it's not quite what I am looking for, but maybe I can find ways to improve it. Thanks again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

212 views 2 10
Read article

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