Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JQL query to find comments not updated in last 14 days

radhika November 22, 2023

How to find issues using JQL query for issues Comments section not updated in last 14 days

 

3 answers

2 accepted

2 votes
Answer accepted
AG
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.
November 23, 2023

Hello @radhika 

Unfortunetly there is no direct way to achieve this in Jira - you'll need an app to provide either a field that pulls out the date or a JQL function that can work with it.

Script runner is one of the plugins for this, specificly to a JQL function. 

However, one the general query where you will get the overall update on the ticket is as below.

project = IT and created >= "-7d" AND NOT status changed

This would find all tickets that have been created in the last 7 days that have not yet made a transition.

Hope it helps

Thanks

0 votes
Answer accepted
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 23, 2023

Hi @radhika

just to add to Stephen's answer: If you're open to solutions from the Atlassian Marketplace, this would be trivial to solve using the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues 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 time since last comment (along with many other comment-related smart columns).

This is how it looks in action:

time-since-last-comment.gif

As you can see above, you can easily sort and filter by the time since last comment, and also use it across JXL's advanced features, such as support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting.

Any questions just let me know,

Best,

Hannes

3 votes
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

Hi @radhika 

This isn't possible using native JQL unfortunately - you'd need an App that extends into this kind of functionality - you could try Apps like...

---

An alternative for is to...

  • Create a Date Picker or Date Time Picker Custom Field - eg. Last Comment Date
  • Use Automation to populate this field for historic issues
  • Use a second, ongoing Automation Rule to populate it for new comments

...and then you could use this field in native JQL instead :)

---

If the Automation option is of interest and you'd like more specific instructions on how to set this up, let us know!

Ste

.

radhika November 26, 2023

Thanks,Stephan.It Partially helped to resolve what am looking for.

Like Ste Wright likes this
Ankit Mathur
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!
June 7, 2024

That's a clever idea!

Suggest an answer

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

Atlassian Community Events