Going Stellar

Home/JQL reference

JQL operator

Less than (<) and <= in JQL: syntax and examples

< keeps the work items whose field is smaller than a value, and <= also keeps the value itself. They work on ordered fields such as dates, numbers and priority. Typical uses are stale work, overdue work and low-priority clean-up.

Syntax

field < value
field <= value

Works with

  • Fields: date fields (Created, Updated, Resolved, Due date), Votes, Priority, Fix version, Affects version, time-tracking fields
  • Functions: now(), startOfDay(), startOfWeek(), endOfWeek() and other single-value functions
  • Not with: text fields and fields without an order, such as Status, Labels and Project

Examples

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

Work that was due before today and is still open, oldest due date first. A standard overdue list for a Monday review.

Run on Jira Cloud on .

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

Everything due by the end of this week, overdue work included, so one list covers late and coming.

Run on Jira Cloud on .

project = WEB AND updated <= -4w AND resolution = Unresolved ORDER BY updated ASC

Open WEB work nobody touched in four weeks. Sorting oldest first puts the most neglected item on top.

Run on Jira Cloud on .

resolved < -30d

Work closed more than 30 days ago, for example to decide what to archive from a board.

Run on Jira Cloud on .

project = WEB AND priority < Medium AND statusCategory != Done ORDER BY updated ASC

Open work below Medium priority, a list for deciding what to drop from the backlog.

Run on Jira Cloud on .

votes <= 4 AND project = MOB AND statusCategory != Done

Open requests with four votes or fewer. The <= keeps the items at exactly four.

Run on Jira Cloud on .

Pitfalls

  • status < Done returns "The operator '<' is not supported by the 'status' field." Only fields with an order accept < and <=. For statuses, name the values with not in or use statusCategory.
  • With a date-only value, <= stops at the start of that day. created <= "2026-11-28" leaves out most of the work created on the 28th, while created < "2026-11-29" includes all of it. For "up to and including a day", compare with < and the next day (checked on Jira Cloud, November 2026).
  • Empty fields never match. duedate < "2030-01-01" returns only work that has a due date, so unscheduled work is not part of the answer. Add OR duedate is EMPTY if it should be (checked on Jira Cloud, November 2026).
  • A negative offset counts back from now: updated <= -4w means "not updated in the last four weeks".

Ready-made queries

Questions and answers

How do I find work not updated for a month?

The Atlassian docs use updated <= "-4w 2d" for 30 days. A plain updated <= -4w is the four-week version.

What is the difference between < and <=?

< leaves out the value you wrote, <= keeps it. For dates without a time, that decides whether the named day itself is included.

Sources

  1. JQL operators (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages