This question is in reference to Atlassian Documentation: Confluence Search Syntax
I have started labelling my docs...but I can't find a way to search the labels specifically. I don't understand the explanation on this page.
The only thing that works (in JIRA, not sure about Confluence) is:
In my example I have label fields which are named: ”VERSION CODES 1","VERSION CODES 2","VERSION CODES 3"
like this:Screen Shot 2016-03-07 at 6.53.26 PM.pngor this: Screen Shot 2016-03-07 at 6.59.18 PM.png
To find the label "TBD" in these fields this query works:
"VERSION CODES 1" = TBD OR "VERSION CODES 2" = TBD OR "VERSION CODES 3" = TBD
I am trying to do a similar thing in JIRA because, like yours, my searches do not look in labels only in text fields.
My own Atlasssian question is here: How to search for labels in any custom field
I think the CQL and JQL are similar.
Hope this helps.
You can use labelText:
labelText:search_string*
NOTE: the asterisk at the end sometimes improves results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.