Forums

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

Is it possible to create a quick filter or a view for tickets with recent comments?

Devon Holt
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!
February 6, 2023

Problem statement: Our team does not effectively track their notifications for whenever they are tagged in comments. I am looking for an easy view for engineers and product teams to see tickets where a comment was added in the past 24 hours. 

 

Steps to resolve:

I tried searching for a query option for Comment Date, but that doesn't appear to exist. 

4 answers

4 votes
Bill Sheboy
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.
February 6, 2023

Hi @Devon Holt -- Welcome to the Atlassian Community!

You are correct: there is no built-in way to search for the last commented date.  If you have one of the marketplace addons for JQL, those may help.

With out-of-the-box features, this JQL would get you close to the answer:

project = myProjectName AND comment ~ accountId AND updated >= -24h

Mentioning a user in a comment adds the text [~accountid:specificUserAccountId] and so you could search for part of that expression and check the updated date is within the last 24 hours.

Another work-around would be to use an automation rule and custom field to track the last date/time a comment was added to issues.  That custom field could then be searched with JQL.

Kind regards,
Bill

3 votes
Trudy Claspill
Community Champion
February 6, 2023

Hello @Devon Holt 

Welcome to the Atlassian community!

Searching for issues based on when the last comment was added is not a native feature of Jira.

There are two options.

  1. Use a third party app that extends searching capabilities. You can find several in the Atlassian Marketplace.
  2. Create a custom field to store the date the last comment was added. Use an Automation Rule to update that field. There is a Issue Commented  trigger for Automation Rules that would allow you to detect when a comment is added.
2 votes
mauricio.groth
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.
February 7, 2023

Hi @Devon Holt

I’m Maurício, a support engineer at Digital Toucan and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all your tickets that the last comment was between the start of the last day(yesterday) and the start of the day today.

commentLastUpdatedOnDate >= startOfDay(-1) and commentLastUpdatedOnDate <= startOfDay()

Please contact our support if you have any other questions about this query. 

We’ll be happy to help you!
Best regards,
Maurício

1 vote
Hannes Obweger - JXL for Jira
Atlassian Partner
February 7, 2023

Hi @Devon Holt

if you're open to solutions from the Atlassian Marketplace, I believe your use case would be easy to solve with the app that my team is working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of so-called “smart columns” that aren’t natively available, including the date of last comment (along with many other comment-related columns).

This is how it looks in action:

date-of-last-comment-v2.gif

You can also use the column in JXL's advanced features, such as support for issue hierarchies, issue grouping, sum-ups, or conditional formatting.

Once you've narrowed down your list of issues, you can work on these issue directly in JXL, trigger various operations in Jira, or export your issues in just one click.

Hope this helps,

Best,

Hannes

Suggest an answer

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

Atlassian Community Events