Forums

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

JQL Query assistance: Issues with no new comments

David Stefancies September 25, 2020

I would like to write a query that will return all open tickets in the current sprint that have not been updated with a new comment in the past 24 hours

1 answer

1 accepted

0 votes
Answer accepted
David Stefancies September 25, 2020

From what I have gathered from checking the forum, this is possible but only with a paid add-on such as Script Runner. Can anyone confirm that?

https://community.atlassian.com/t5/Jira-Software-questions/Need-JQL-query-for-no-comment-added-in-past-24hrs/qaq-p/1418313

The above is a similar question.

David Stefancies September 25, 2020

This is what I have so far. It seems to work but could use some refinement if anyone has any ideas. Currently I would have to modify the active sprint manually.

sprint = 321 and status = "In Progress" AND updated < -1d

Gustavo Félix
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.
September 25, 2020

You could use sprint in openSprints () . 
But the updated will bring you your issues in general(any field) that were updated. You will need to use the "issueFunction in commented ('after -1d') "

David Stefancies September 25, 2020

@Gustavo Félix I am under the impression that the issueFunction isn't available out of the box and requires a paid plugin. Is that right?

Gustavo Félix
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.
September 25, 2020

Yes, thats included with scriptrunner. 

David Stefancies September 25, 2020

Ok I will stick with the query that I have since we do not have ScriptRunner. Thank you for your help.

Suggest an answer

Log in or Sign up to answer