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
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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

763 views 2 19
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