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

Include/Exclude labels do not work when the key word is not used in contentbylabel macro

    XMLWordPrintable

Details

    Description

      contentbylabel macro has 'label' as a required parameter; however you can leave out the key word 'label' and just specify the list of label values.

      {contentbylabel:goodpage}
      

      You can also include/exclude matches by using +/- before the label values.

      {contentbylabel:label=+goodpage,-badpage}
      

      However, these do not work at the same time; the following will give 'No content found for label(s) +goodpage':

      {contentbylabel:+goodpage}
      

      Attachments

        Activity

          People

            bspeakmon Ben Speakmon [Atlassian]
            mhrynczak Mark Hrynczak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: