Problem with sentence "summary ~ " and character "_"

Hello there!

I have a problem when I use the sentence "summary ~ EXT" if the title contains "_EXT" like "182_EXT" it is not returning, but if I return "182_INC-EXT". The probem can be with the character "_".

Can you help? I can not change the nomenclature of the Jiras.

1 answer

0 vote

Hi, Antonio.

The operator '~' in JQL works with whole words, searching for the words in the search or derivatives (for example 'goes' is a derivative of 'go'), a fuzzy match. It won't match if a word contains part of the words in your search.

What is probably happening is that the '-' is considered as a word separator, so "182_INC-EXT" is considered as 2 words "182_INC" and "EXT", so it is found by the search, while '_' is probably not considered a word separator, so "182_EXT" is considered a single word and it is not a derivative of 'EXT' (which is not even an English word), so it is not found.

I did not understand if you want the issues with "182_EXT" and "182_INC-EXT" to be found or not.

If you want them to be found, you could take advantage of wild cards. Unfortunately it is not possible to add wild card in the beginning of a word, otherwise you could make "182_EXT" be found by doing "*EXT" ('*' is the wild card). There is already a feature request to allow this feature: If that is what you want, you should add yourself as a watcher to this improvement request, so you are notified if they allow wild cards in the beginning.

If you want them not to be found, that would probably require something more advanced.

You can read more about advanced search with JQL here:

You can read more about wild cards here:

I hope it was helpful.

Kind regards.

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 Tuesday 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...

231 views 1 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