Forums

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

Create a JQL filter that shows number of Jira issues closed today

Mare Johnson September 4, 2025

Hello,

My name is Marè, and I am building a dashboard that shows an overview of overdue Jira issues for a daily report.

On top of "Two dimensional Filter Statistics" and "Filter Results" gadgets, I would like to show a total count of tickets closed today and that were still open yesterday.

The original JQL that gives me the list of overdue tickets is:

filter = XXXXXX AND "Target End" <= endOfDay() AND NOT (status in (Resolved, Closed) OR status = "In Review" AND labels = XXX_Ready_for_Test)

Yesterday, that JQL was showing 48 overdue tickets, and now the open tickets are down to 20. How can I show that 28 were closed between yesterday and today? Also, would it be possible to select a specific time of the day as well (let's say from 10AM yesterday until 10AM today)?

Thank you!

 

2 answers

0 votes
Bill Sheboy
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 4, 2025

Hi @Mare Johnson 

The JQL functions you are using are all relative to the current date, and so your reporting will change every day.  Thus, you could check for work items resolved after the start of today and which were created before that timeframe:

filter = XXXXXX
 
AND resolved >= startOfDay()
AND created < startOfDay()

If instead you want more static measures (e.g., what was the count on last Wednesday, Thursday, etc.), please investigate marketplace or external apps to manage the data.

 

Kind regards,
Bill

0 votes
Rudy Holtkamp
Community Champion
September 4, 2025

I think this should do it:

filter = XXXXXX AND "Target End" > startOfDay(-1) AND "Target End" <= endOfDay(-1) AND NOT (status in (Resolved, Closed) OR status = "In Review" AND labels = XXX_Ready_for_Test)

Mare Johnson September 4, 2025

Hi Rudy, thank you for your reply.

Unfortunately that doesn't work .. I got now over 1000 tickets that are not closed. 

Suggest an answer

Log in or Sign up to answer