Uses Jira Cloud, have app called Adaptavist ScriptRunner for Jira Cloud so I can use CommentedOn.
"Request Type" in ("Request Computer Support (SL)", "Network Support (SL)", "Report Desk Phone Issue (SL)", "Request Account Change (SL)") AND status not in (Resolved, Cancelled) AND commentedOn
I need to add onto this so that it only pulls these issues that have not been commented on in 2 days and longer.
I tried:
"Request Type" in ("Request Computer Support (SL)", "Network Support (SL)", "Report Desk Phone Issue (SL)", "Request Account Change (SL)") AND status not in (Resolved, Cancelled) AND commentedON != -2d
and many other variations and it's pulling issues that have had comments in the past 2 days.
Hi @Sierra
If you have ScriptRunner then you can use lastCommentedDate.
AND lastCommentedDate <= startOfDay(-2)
AND lastCommentedDate <= -2d
"Request Type" in ("Request Computer Support (SL)", "Network Support (SL)", "Report Desk Phone Issue (SL)", "Request Account Change (SL)") AND status not in (Resolved, Cancelled) AND lastCommentedDate >= startOfDay(-2)
Used this ^ one of the tickets does have a comment made yesterday ^ thoughts? @Tuncay Senturk _Snapbytes_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should this JQL statement be giving me the results I'm looking for? @Tuncay Senturk _Snapbytes_
I want to see tickets that do not have comments on them for the past two days - or longer.
"Request Type" IN ("Request Computer Support (SL)", "Network Support (SL)", "Report Desk Phone Issue (SL)", "Request Account Change (SL)") AND status NOT IN (Resolved, Cancelled) AND lastCommentedDate >= startOfDay(-2)
^ This is giving me results that do have comments yesterday and the previous day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah sorry, it should be <=
I am correcting the answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you yes my results look good now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sierra,
I understand that you're using ScriptRunner, but just to put this out there: If you're open to other solutions from the Atlassian Marketplace, this would be easy to do 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 time since last comment, and many other comment-related fields.
This is how it looks in action:
As you can see above, you can easily sort and filter by the time since last comment, and also view it in different formats (like number of days, or number of hours). Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.
You can also use time since last comment across JXL's many advanced features, such as support for configurable issue hierarchies, issue grouping, sum-ups, or conditional formatting.
Hope this helps,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.