Forums

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

Adapt m filter

Inna Kohler February 23, 2023

What I have to add to my filter to find only tickets with a comment (is not about a specific comment, but generally whether there is a comment) 

Thank you :) 

1 answer

0 votes
Esther Strom
Community Champion
February 23, 2023

Hi, @Inna Kohler - welcome to the Community!

Unfortunately the Comment field doesn't allow searches for empty/non-empty, so you have to do some ugly things :(

Here are a few ways:

  1. Native Jira, you can use 
    (comment ~ "anything*" OR comment !~ "anything*")

    If you want to search for tickets where there are NO comments, add a ! before the opening parenthesis to turn it into a "not" statement.

  2. If you have the JQL Extensions plugin  installed, you can use the commentsCount function.
commentsCount > 0

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events