There may be cases where you need to find pages that have not been labeled.

This recipe allows you to display a list of pages in a space without labels.




Reporting for Confluence Server & Data Center



Estimated time

5 minutes


Content Reporter, Number Filter, Report Column, Report Info, Report Table


Collection Supplier, Content Supplier

Storage format

You can copy and paste this code into the Confluence Source Editor:

<ac:structured-macro ac:macro-id="7e58fd8b-9395-461a-83f2-c0060badca6b" ac:name="report-table" ac:schema-version="1">
    <ac:structured-macro ac:macro-id="0cacaee4-e415-4d3d-b355-f80dbcbb70d1" ac:name="content-reporter" ac:schema-version="1">
      <ac:parameter ac:name="types">page</ac:parameter>
        <ac:structured-macro ac:macro-id="106574b7-f137-4e61-b33d-7f572e199f62" ac:name="number-filter" ac:schema-version="1">
          <ac:parameter ac:name="minValue">0</ac:parameter>
          <ac:parameter ac:name="maxValue">0</ac:parameter>
          <ac:parameter ac:name="">content:labels&gt;collection:size</ac:parameter>
    <ac:structured-macro ac:macro-id="de4a78f6-5a07-4b21-9ffb-154c2f4851e7" ac:name="report-column" ac:schema-version="1">
      <ac:parameter ac:name="title">Title</ac:parameter>
          <ac:structured-macro ac:macro-id="8d2433f4-d5df-489f-8274-04040e85c4d1" ac:name="report-info" ac:schema-version="1">
            <ac:parameter ac:name="">content:title</ac:parameter>
    <ac:structured-macro ac:macro-id="e96e8582-1c37-4db7-8e55-e2971d4463a9" ac:name="report-empty" ac:schema-version="1">
          <em>No pages without labels in this space.</em>

Macro structure

You can recreate the example in the editor view:


  1. Create a Report Table macro.

  2. Within the Report Table macro, create a Content Reporter macro.
    Set the Types parameter to "page".

  3. Within the Content Reporter macro, create a Number Filter macro.
    Set the Key to "content:labels>collection:size".

  4. Under the Content Reporter macro (and still within the Report Table macro), create a Report Column macro.
    Set the Title parameter to "Title".

  5. Within the Report Column macro, create a Report Info macro.
    Set the Key to "content:title".

  6. Under the Report Column macro (and still within the Report Table macro), create a Report Empty macro.
    Within the Report Empty macro, type "No pages without labels in this space."
    In this example we also italicized this sentence, though this is optional.