How to filter issues where a Comment contains the exact phrase

Brian Watson March 4, 2015

comment !~ "\"FINAL LOGO LOCKUP UPDATED\""

 

This isn't filtering out tickets that contain this comment.  Removing the ! correctly finds them, but I need to remove the tickets that contain this phrase.

2 answers

1 accepted

2 votes
Answer accepted
Udo Brand
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.
March 4, 2015

The problem is an issue can have several comments. Issue 1 has two comments one with "FINAL LOGO LOCKUP UPDATED" and the second without that string.

So both querys comment ~ "\"FINAL LOGO LOCKUP UPDATED\"" and comment !~ "\"FINAL LOGO LOCKUP UPDATED\"" will find that issue.

Solution: create a filter with comment ~ "\"FINAL LOGO LOCKUP UPDATED\"" and save it (e.g. as "FLLU".

then use the query not filter = FLLU

Udo Brand
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.
March 9, 2015

Guess this is one of the answers where no mail have been sent.: https://answers.atlassian.com/questions/12917699/no-mail-from-answers-since-yesterday

0 votes
Eiichi Kurimoto May 31, 2015

Hi Atlassians,

Our customer told us that they got the same result, and I've reached the workaround same as Udo's.

The filter by comment looks as if it returns the list of comments, not the list of issues.

 

Is it a correct specification ?

Or, has anybody raised a ticket for it yet ?

 

Thanks,

Eiichi Kurimoto May 31, 2015

Sorry, I'm a little short-tempered. The ticket is here, https://jira.atlassian.com/browse/JRA-43600

Suggest an answer

Log in or Sign up to answer