How do you search by labels specifically?

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.

2 answers

You can use labelText:


the asterisk at the end sometimes improves results.

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:



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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

274 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you