Forums

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

jira

gifxz
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 28, 2020

Hi, would it be possible to make tasks that are not closed and uncommented appear in the queue for the last 24 hours? I tried to do it anyway but failed. The task should only display open, incomplete, or modified. Could you help?

2 answers

0 votes
Jack Nolddor _Sweet Bananas_
Atlassian Partner
February 28, 2020

Hi all,

As already pointed out on previous comments, it is not possible to search for issues having a specific number of commnets or not having comments at all using standard features.

You must go for a third-party instead, using i.e. JQL Booster Pack you can type the following:


Search for unresolved tasks without comments and not updated in the last 24h

type = Task AND resolution IS EMPTY AND updated >= -24h AND issue NOT IN hasComments()

(*) This is only an example, you can tune the above query to meet your needs as your own and use this one as a base.


References:


Hope this helps you to create awesome queries <3

Kind regards

0 votes
Thomas B
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 28, 2020

Hey @gifxz - the comments JQL: The field 'comment' does not support searching for EMPTY values. Since the comment fields only supports ~ or ~!, which is contains or does not contain, some text... there is no way to know the uncommitted cards. Here is a query that may work:

issuetype in (Task) AND updated > endOfDay(-1) and status in (Open, Incomplete, Modified)

 

You may want to add ORDER BY updated DESC to work top down. Please let me know if this is useful. 

Payne
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 28, 2020

The free Toolkit Plugin for Jira (for Jira server, only) provides a custom field, Number of Comments, so with it you could say "Number of Comments" = 0

Suggest an answer

Log in or Sign up to answer