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

URL: https://goingstellar.ro/reference/jql/less-than-operator/

< 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 2026-11-29.

```
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 2026-11-29.

```
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 2026-11-29.

```
resolved < -30d
```

Work closed more than 30 days ago, for example to decide what to archive from a board. Run on Jira Cloud on 2026-11-29.

```
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 2026-11-29.

```
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 2026-11-29.

## 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

- [Overdue work items](https://goingstellar.ro/tools/jql-examples/#overdue)
- [Due in the next N days](https://goingstellar.ro/tools/jql-examples/#due-next-n-days)
- [Due this week](https://goingstellar.ro/tools/jql-examples/#due-this-week)
- [Overdue and unassigned](https://goingstellar.ro/tools/jql-examples/#overdue-unassigned)
- [Stale: open and not updated in N days](https://goingstellar.ro/tools/jql-examples/#stale)
- [Resolved last week](https://goingstellar.ro/tools/jql-examples/#resolved-last-week)

## 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.

## Related

- [Greater than (>)](https://goingstellar.ro/reference/jql/greater-than-operator/)
- [Equals (=)](https://goingstellar.ro/reference/jql/equals-operator/)
- [duedate](https://goingstellar.ro/reference/jql/duedate-field/)
- [updated](https://goingstellar.ro/reference/jql/updated-field/)
- [resolved](https://goingstellar.ro/reference/jql/resolved-field/)
- [startOfDay()](https://goingstellar.ro/reference/jql/startofday/)

## Sources

- [JQL operators (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-operators/)

