Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Narrowing down the labels in a query

I would like to do a search with multiple labels.
When doing so, I would like to see only the labels that are left in the resulting pages.

For instance:

Page 1 has label A, Label B

Page 2 has Label A and and label C

Page 3 has Label A, label C and label D

Page 4 has lavel B 


when I filter on "Label C"
I get Page2 and 3 listed.

Now I want to add another filter on label... Confluence currently suggest Label A, B, C and D, while actually in my search results only Label A and D are still available.

Is it not possible to get an overview of what labels are still in the query results?

1 answer

0 votes
Diego Atlassian Team May 11, 2021

Hello there @Carl Rymenams!

First thing I would like to ask is:

  1. How are you searching for this content?

I am asking this to understand if you are using the "Content By Label" macro, the native search on the user interface or via REST API and CQL.

If you are using the Content by label macro, using the label filter will use an "AND" conditional. Meaning that the content you are looking for must have all the labels you specified.

For more information on the Content by label macro, you can check here:

Insert the content by label macro

If you are using REST and CQL, you can filter by many different conditionals and filter by multiple labels. For the documentation on this, you can check here:

Advanced searching using CQL

Let us hear from you!

Suggest an answer

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

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. (Read m...

584 views 4 26
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