Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Search multiple labels

Vebjørn Hjelle June 29, 2018

I want to add the functionality of searching for multiple labels from a search box. It should have the same behaviour as when using "labelText:label1 AND labelText:label2". The users, however, should only need to type "label1, label2". How do I implement something like this? 

3 answers

0 votes
Alana Churchward June 20, 2023

Was there a solution for this?

I would like to do something similar and have the reader either search, or click a bunch of different labels to bring up relevant results.

 

Edit: Nevermind, I did a bit more poking around and I found it!

Sophia Volkova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 23, 2024

Hi!

Could you please share the solution you found? I am currently looking for a tool to enable users to choose multiple lables and do the search.

0 votes
Ryan Keeran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2022

Advanced Search can do this by adding multiple "search for label" criteria:
https://confluence.atlassian.com/conf713/search-1077913983.html 

0 votes
Victor Mutambuki
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.
June 29, 2018

vebjorn,

Please use Content By Label Macro. Please see link below

https://confluence.atlassian.com/doc/content-by-label-macro-145566.html

Victor

Vebjørn Hjelle July 1, 2018

Thanks for answering, but I can not see how the readers can use this to search for labels. If I understand this macro correctly, it shows a list of pages with the predetermined labels. I want the readers (which have no edit permission) to be able to determine what labels to search by. 

Victor Mutambuki
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.
July 2, 2018

Vebjorn,

A user can have their own Content By Label Macro inserted in a page...then they'd track the content that is of interest to them.

Victor

Vebjørn Hjelle July 2, 2018

I see. Still not the functionallity I was looking for though. Thanks anyways for your help!

Volker Weinreich
Contributor
September 27, 2018

Hi Vebjørn,

have you found a solution? I have the same problem. The user should only type some terms in one or more fields and then start a search, which is only label based.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events