This question is in reference to Atlassian Documentation: Content Report Table Macro
if i have pages w/ label A and label B and some w/ A & B how do I get a report with just those that are A&B. There doesn't seem to be a way to do that.
The filtering by labels in content reports uses the inclusive OR. This means that if your filter says Label A, Label B then Confluence will return all pages with "Label A OR Label B OR Both":
AorB.png
(An exclusive OR, which Confluence does NOT use, would return pages with "Label A OR Label B but NOT pages with Both").
To perform an AND - i.e. to return only pages with "Label A AND Label B" - you need to add a new filter line:
AandB.png
That will return those pages that have both "Label A AND Label B", in other words it won't return pages unless they have both of those labels.
https://you.atlassian.net/wiki/label/SpaceID/Label1+Label2
Where:
you = your base URL
SpaceID = the space ID to search (can be deleted to search the entire site)
Label1, etc. = all the labels you want discovered, separated with a plus sign (+)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.