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 edited

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
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events