Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find issues containing the word or group of characters XYZ ?

BarthélémyH
Contributor
May 30, 2012

I have an issue with summary = "aldaqtds54 PSU failure".

In search with the criteria : summary ~ tds54

It doesn't return the issue.

Why is that ? Isn't the operator ~ means "contains" ?

2 answers

0 votes
Thomas Schlegel
Community Champion
May 30, 2012

Hi Barthelemy,

you have to query this way: summary ~ "tds54"

Best regards

Thomas

0 votes
Norman Abramovitz
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.
May 30, 2012

That is because ~ is not a full regular expression. Your query looks for the word tds54. Even if you added the wildcard *, "tds54*" it would find words beginning with tds54. It is illegal to put the wildcard characters at the beginning of the pattern as noted in the link below.

https://confluence.atlassian.com/display/JIRA/Performing+Text+Searches

I am not sure a soundex (fuzzy search) would match either. In that case, the term would be "tds54~"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events