JQL "text" keyword

Does JQL such as "text ~ foo" really search all custom fields of type Text?

I thought it only searched Summary, Description and Comments but https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-Text suggests it searches the custom fields too. That might explain why some searches are so slow when I'm in a JIRA with 1000 text fields!

Has anyone else had problems with slow queries when using "text ~"?

2 answers

1 accepted

0 votes
Boris Berenberg Community Champion Jan 12, 2015

text does search custom fields. It will also search third party custom fields with appropriately configured searchers as well I believe. 

Hmm. That could well be slow for large instances!

Boris Berenberg Community Champion Jan 12, 2015

It is intended as an extremely broad search, if you know exactly what fields you are looking in, then you can expect much better performance.

@Boris Berenberg , Entering <string> into the Quick Search box is equivalent to "text ~ <string>" and used to be expanded to "summary ~ <string> or description ~ <string> or comment ~ <string>". Can we have that back In JIRA 6.2.7? That is, to configure JIRA to not search for all customfields but a few. We have 848 custom fields and the Quick Search is not quick but resulting in proxy error, or JIRA's saying "No results were found". In other words, text search through Quick Search box is unusable. Reducing the number of custom fields in the instance is not an option. We need a way to constrain the Quick Search to search a list fields and not all fields. This way, the regular non-power users can search without being bitten by the slow unreliable search.

Boris Berenberg Community Champion Feb 20, 2015

I filed a request for this at: https://jira.atlassian.com/browse/JRA-42162

If you have performance issues, you could think about reducing you custom fields.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot