Search for a combination of labels

roy_wismann August 29, 2024

Hi all together,

 

perhaps an easy task, but I can't get it right...

 

I am looking for a way to search for confluence pages with defines labels in combination.

 

For example I want to find all pages that are labelled with "car" and "tires".

Which means both labels need to be used on these pages.

 

I tried to search for

  • labelText:"car" AND labelText:"tires"
  • labelText:"car" + labelText:"tires"
  • labelText:"car" AND "tires"
  • labelText:("car" AND "tires")


What i get so far is all pages that are labelled with "car" and all pages, that are labelled with "tires", but not only the pages, that are labelled with both "car" and "tires".

Any hint is apprecheated!

 

Cheers,

Roy

 

 

2 answers

3 votes
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2024

Hi @roy_wismann ,

If your company uses our Table Filter, Charts & Spreadsheets for Confluence app, you may try the following workaround:

  • Insert the Content Report Table macro twice
  • Get two separate tables: for pages with "cars" and pages with "tires" (as far as I know the macro doesn't work with AND/OR operators)
  • Then you may take our Table Transformer macro and join these two tables by Page Titles - the result table will show entries that are present in both source tables (have both labels)

Maybe it somehow helps.

roy_wismann September 2, 2024

Thanks for your suggestion,

 

as far as I know, we don't use your Table Filter App.

 

Cheers,

Roy

1 vote
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2024

Hi @roy_wismann and welcome to the community.

You can try creating a database with all pages in your space, setup one column to display labels and then just filter based on your reqs.

Confluence management apps can do the same.

If it's search you're looking for... Take a look at this app - https://marketplace.atlassian.com/apps/1213090/cql-search?tab=pricing&hosting=cloud 

It costs a penny and might do the trick.

roy_wismann September 2, 2024

Hi @Kristian Klima ,

 

thanks for your response. I will keep this suggestion in mind.

Still hoping for a "simple" solution...

 

Cheers,

Roy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events