How do you get only those items with say Label A and Label B and not Label A, Label B AND Label A & B?

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.

2 answers

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":


(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:


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.



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 (+)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,006 views 0 5
Read article

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