Jira JQL date ranges that work

Published 2026-09-24 by Sidecar Tools. Every JQL query and error message below was run against a Jira Cloud site on 2026-09-24. Automation steps use Jira's current "work item" wording; older sites say "issue".

Short answer

Resolved last month:

resolved >= startOfMonth(-1) AND resolved < startOfMonth() ORDER BY resolved DESC

startOfMonth() is midnight on the first day of this month. startOfMonth(-1) is the same point one month earlier. Using >= on the start and < on the end gives you exactly one calendar month with no overlap.

Ranges you can paste

You wantJQL
Created in the last 24 hourscreated >= -24h ORDER BY created DESC
Created this week, still opencreated >= startOfWeek() AND statusCategory != Done ORDER BY priority DESC, created ASC
Overduedue < now() AND statusCategory != Done ORDER BY due ASC
Due in the next 7 daysdue >= now() AND due <= 7d AND statusCategory != Done ORDER BY due ASC
Moved to Done during a date rangestatus changed to Done during ("2026-09-01", "2026-09-30")
Resolved since a fixed dateresolved >= "2026-07-01" ORDER BY resolved DESC

How the date functions behave

Want the rest? The Jira Cloud JQL Cookbook has 66 copy-paste queries for triage, sprints, releases, SLAs and reporting, each one validated on Jira Cloud. Get it on Gumroad, pay what you want from $12.