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
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
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

736 views 3 11
Read article

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