How to list all pages with the same label in confluence

Hello,

I have an hierarchy of pages and subpages with many labels.

I want to know if is possible to have a report wich list all pages with specific label ?

Page

|---subPage 1

|------subsubPage 11 with label "lb1", "lb2"

|------subsubPage 12 with label "lb1"

|---subPage 2

|------subsubPage 21 with label "lb2"

|------subsubPage 22 with label "lb2"

In this sample, I want "subPage 1" list all subsubPage with the label "lb1" (subsubPage 11 and subsubPage 12)

In this sample, I want "subPage 2" list all subsubPage with the label "lb2" ( subsubPage 11, subsubPage 21 and subsubPage 2)

4 answers

1 accepted

This widget could not be displayed.

Are you aware of the contentbylabel macro?

This widget could not be displayed.

Are you aware of the contentbylabel macro?

No, I am not aware with this macro, but now I am, thank you.

Subsidiary question : My subsubpage have metadata information, is it possible to display them with contentbylabel macro ? And "the must" are to display them into a report of course ;-) ?

I would go with the reporting plugin for anything more involved that just a simple list of pages with a label.

no soucies, my need was not clear for me too

This widget could not be displayed.

Subpage 1 code :

---

List of subsubpage :
{report-table}
{local-reporter:page:descendents|source=Page}
{content-filter:type=page|labels=lb1}
{text-sort:data:Category|mode=natural|order=ascending}
{local-reporter}
{report-column:title=Test ID}
{report-info:content:title|source=@self|render=wiki|link=true}
{report-column}
{report-column:title=Covered Requirements}
{report-info:data:Covered requirements|render=wiki}
{report-column}
{report-column:title=Description}
{report-info:data:Description|render=wiki}
{report-column}
{report-column:title=Type}
{report-info:data:Type|render=wiki}
{report-column}
{report-column:title=Space Key}
{report-info:content:space > key}
{report-column}
{report-table}

This widget could not be displayed.

You can use the Page Properties and Page Properties Report macros for that.

The Page Properties macro associates metadata values on a page with a label, and the report macro generates a table of selected metadata values pulled from all pages with that label.

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...

496 views 7 6
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