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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

63 views 0 4
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