Can't figure out this advance filter using (comment !~)

I'm trying to set up a filter that will look through a list of tickets that are in a certain status, but do NOT contain a specifc comment. If that comment is present I do not want it to be picked up. I've been trying to use the filter below as an example, any help on this would be greatly appreciated...

project in (ABC, CDF, XYZ) AND status = Resolved AND comment !~ "\"Ready for Release\""

3 answers

did you tried like this?

project in (ABC, CDF, XYZ) AND status = Resolved AND comment !~ "Ready for Release"

check this document to perform text searches on comments

https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-Comments

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

Yep, and that did not work either. I believe part of the problem is that on comments you can not use the "=" operator as ~ is using "fuzzy" matches

!~ is a funny operator. What it does is find any issue with a comment that does not contain the text. So, if you have an issue with 2 comments ("Blah" and "Meh"), comment ~ "Blah" and comment !~ "Blah" will BOTH find the issue.

I believe you want to first create a filter that finds resolved issues WITH the comment and then create another filter that finds resolved issues not in the first filter (i.e. does not contain the comment).

For example, F1 = ... ~ "Ready for Release", F2 = ... filter != F1

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,666 views 18 21
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