Quick filter for "not commented over 3 days"

Valentina Grishkevich
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 9, 2019

Is there a way to create a quick filter that shows only issues which haven't been commented over last 3-4-5-whatever days?

I know we have "updatedDate" thing but it's not working the way I need. Any activity on the ticket (like logging time) will update this parameter while I want to track comments only.

2 answers

2 accepted

1 vote
Answer accepted
Olga Videc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 9, 2019

Hello @Valentina Grishkevich 

You will need ScriptRunner plugin for this, because of this specific JQL function.

I need the same thing, couldn't do it without a plugin.

Enter this into your advanced JQL search

issueFunction in lastComment("before -3d")

BR, Olga

Deepti Hasija
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!
March 3, 2024

How can we make a filter for comments not added in last 3 business days?

0 votes
Answer accepted
Manuel Bastardo Castellano
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 9, 2019

Hi Valentina, you also should try this recomendation from @Kristian Walker _Adaptavist_

This requirement can be used using the Script Fields functionality provided by the ScriptRunner Plugin.

The way to do this is to set a new Script Field called Last Comment Added and configure its searcher type to be Date Time Range Picker and ensure this field is set to appear on issues for all projects and issue types.

You should then add the script below to the Script Field

import com.atlassian.jira.component.ComponentAccessor

def comments = ComponentAccessor.getCommentManager()?.getComments(issue)

// If the current Issue has comments then get the date that the last comment was created

if (comments) {
    return comments.last()?.created as Date
}

Finally you should then ensure that the Template for the field is set to Date Time Picker like in the screenshot below and then you will see details of when the latest comment was added such as in the screenshot below.

Screen Shot 2016-10-05 at 12.17.18.png

Screen Shot 2016-10-05 at 12.18.53.png

I hope this helps

Thanks

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events