Forums

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

JQL to display unassigned issues with comments added

Ada Kardos June 16, 2022

I would like to create a query that lists service desk issues that are currently unassigned but that someone has commented on.

I have a workflow that keeps a ticket in an unassigned state until an approval has been given, but if someone comments on the ticket and doesn't @ mention anyone, that comment will remain buried until the approval is received. I'd like to set up a dashboard that displays unassigned issues with comments so they can be reviewed.

I could probably do a query that is some variation of updated > created, but I'm looking for a smarter solution!

1 answer

1 vote
Robert Wen_Cprime_
Community Champion
June 16, 2022

I can't do it with "out-of-the-box" JQL.  Scriptrunner has a "hasComments()" JQL function that lets me set up this query

assignee=Unassigned AND hasComments(0)

Suggest an answer

Log in or Sign up to answer