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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,190 views 4 6
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