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

This widget could not be displayed.

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.

 

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

857 views 8 13
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