Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-43823

Allow Content By Label Macro To List Pages Without Any Labels

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Right now, it's possible to search for all pages that does not contain any labels via this search query (regular Confluence search):

      type:page NOT labelText:[a TO z] NOT labelText:[0 TO 9]
      

      Injecting this directly does not yield the same effect with the Content By Label macro though:

      <ac:structured-macro ac:macro-id="b88c7bfd-5dba-4be5-9b6c-e9b1b9691671" ac:name="contentbylabel" ac:schema-version="3">
                <ac:parameter ac:name="cql">type:page NOT labelText:[a TO z] NOT labelText:[0 TO 9]</ac:parameter>
              </ac:structured-macro>
      

      Nor this:

      <ac:structured-macro ac:macro-id="b88c7bfd-5dba-4be5-9b6c-e9b1b9691671" ac:name="contentbylabel" ac:schema-version="3">
                <ac:parameter ac:name="cql">label IS NULL</ac:parameter>
              </ac:structured-macro>
      

      We should have an option to display pages without labels via this macro

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fsim Foo Sim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: