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?
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Advanced Search can do this by adding multiple "search for label" criteria:
https://confluence.atlassian.com/conf713/search-1077913983.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
vebjorn,
Please use Content By Label Macro. Please see link below
https://confluence.atlassian.com/doc/content-by-label-macro-145566.html
Victor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. Still not the functionallity I was looking for though. Thanks anyways for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.