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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
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