Going Stellar

Home/JQL reference

JQL function

now() in JQL: syntax and examples

now() returns the current time. Its main job is the overdue query, where a due date is compared with the present. It takes no arguments, so for shifted boundaries you use the start and end functions instead.

Syntax

n
o
w
(
)

Works with

  • Fields: Created, Due, Resolved, Updated, custom Date or Date/Time fields
  • Operators: =, !=, >, >=, <, <=. Inside WAS, WAS IN, WAS NOT, WAS NOT IN and CHANGED it works only in a predicate (docs)
  • Not with: ~, !~, IS, IS NOT, IN, NOT IN

Examples

duedate < now() AND statusCategory != Done ORDER BY duedate ASC

All overdue open work, the most overdue first. The classic query behind an overdue gadget.

Run on Jira Cloud on .

project = WEB AND duedate < now() AND status not in (Done, Closed, Resolved) ORDER BY duedate ASC

Overdue work in one project, listing the statuses by name for sites with several finished statuses.

Run on Jira Cloud on .

duedate < now() AND assignee = currentUser() AND resolution = Unresolved

My own overdue work. The resolution check works on sites where Done sets a resolution.

Run on Jira Cloud on .

status CHANGED TO "In Progress" DURING (startOfWeek(), now())

Work started this week. now() closes the window at the present moment.

Run on Jira Cloud on .

updated >= startOfDay() AND updated <= now()

Changes since midnight, up to this minute. An explicit upper bound is useful when you paste the query into a report.

Run on Jira Cloud on .

Pitfalls

  • On a due date, now() acts like today's date, since the field has no time. duedate < now() excludes work due today and duedate <= now() includes it (checked on Jira Cloud, November 2026). Decide whether due today counts as overdue before you choose.
  • It accepts no offset. duedate < now("-1d") fails with "Function 'now' expected '0' arguments but received '1'." Use startOfDay("-1") or a similar function for a shifted boundary.
  • It cannot be written as a bare value. now("-1d") on its own is a syntax error, because JQL needs a field and an operator first.
  • A saved filter with now() changes between runs. Dashboards that need a stable snapshot should use a fixed boundary instead.

Questions and answers

Which JQL finds overdue work items?

Use duedate < now() AND statusCategory != Done. The status condition keeps finished work out of the list.

Sources

  1. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages