Forums

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

Filtering for all stories with comments

marianne doventry
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2025

I am looking for a quick way to see all the stories in my Backlog that have been commented on by anyone.

1 answer

1 accepted

4 votes
Answer accepted
Matt Parks
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.
July 10, 2025

Out of the box, I'm not aware of a way to this but, if you have the Scriptrunner plugin, you can add the following JQL to your query that shows the work items in your backlog:

issuefunction in hasComments()

It's also possible to put parameters inside the parentheses to only look for issues that have a particular number of comments or at least a certain number of comments.

Trudy Claspill
Community Champion
July 10, 2025

I concur with this.

Natively the only filter option for Comments is to filter them by the comment content with the "~" operator, and there is not a JQL method to use that operator to find items where the text field being evaluated contains anything.

Like # people like this
Greg Harder September 3, 2025

If this is true, then why does the Atlassian documentation suggest we can?

https://support.atlassian.com/jira-service-management-cloud/docs/jql-fields/#Comment

Trudy Claspill
Community Champion
September 3, 2025

@Greg Harder 

Welcome to the Atlassian community.

What you have referenced does not indicate that issues can be filtered based on "commented on by anyone".

The reference says:

"Search for work items that have a comment that contains particular text"

You would have to provide the Comment text content for which you want to search. That would get you issues that contain that text in the Comment. That is not the same as getting issues "commented on by anyone" regardless of the content of the Comment.

Like John Funk likes this

Suggest an answer

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

Atlassian Community Events