How does '~' operator works?

Jigar D Patel June 20, 2017

Please note that my question is very generic. 

There is a one issue that holds this value in description. The value is "www.EnsayosTDAHMisHijos.com". When I search using below I get no results:

text ~ ensayostdahmishijos.com

text ~  EnsayosTDAHMisHijos.com

text ~ "ensayostdahmishijos.com"

text ~ "EnsayosTDAHMisHijos.com"

When I add "www" front of the search term so example www.ensayostdahmishijos.com I am getting result back. 

1 answer

0 votes
josh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2017

JIRA does not handle substring searches out of the box with the ~ operator. https://jira.atlassian.com/browse/JRASERVER-6218

Another relevant issue: https://jira.atlassian.com/browse/JRASERVER-31882

If substring search is a requirement, you'll unfortunately need to look into a plugin to extend JQL functionality.

Jigar D Patel June 20, 2017

Josh in this case we have an issue that hold value as "www.chimestudy-es.com/?p=866" and when you search as text ~ "chimestudy-es.com", it returns the result. 

Suggest an answer

Log in or Sign up to answer