Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Using AND logic and searching for Labels


How to search multiple labels on Confluence with AND logic? For instance I searched labelText: label1 AND labelText:label2, but it yielded OR logic results. I need the searched results to display pages that contain both label1 and label2 and not any one of them. Please help

2 answers

0 votes
Srinatha T Atlassian Team May 06, 2022

Hi @Souro ,

Can you share the screenshot to understand it better. ? You have a table with two labels ?



Srinath T

0 votes
Srinatha T Atlassian Team May 05, 2022

Hi Souro,

Welcome to Atlassian community. 

I just did a quick search and it is working as expected for me. Check the attachment below. It displays only page which has both label1 and label2

Screenshot 2022-05-05 at 2.51.07 PM.png


Srinath T

Srinatha T Atlassian Team May 05, 2022

@Souro , here is the output of OR search. It will list all pages which has either of the label. So check if you are using the same command ?

Screenshot 2022-05-05 at 2.50.57 PM.png

Hi @Srinatha T

I'm using the same command, still not getting the desired results.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,042 views 18 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you