# endOfMonth() in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/endofmonth/

endOfMonth() stands for the end of the current month. Use it for month-close reviews and "due this month" filters. Offsets move it by months, or by days when you write a unit.

## Syntax

```
endOfMonth()
endOfMonth("inc")
```

## Arguments

- `inc` (optional: yes): Optional offset in the form (+/-)nn(y|M|w|d|h|m). With no unit it counts months, so "+1" is the same as "+1M". With no sign, plus is assumed.

## Works with

- Fields: Created, Due, Resolved, Updated, custom Date or Date/Time fields
- Operators: =, !=, >, >=, <, <=, and inside WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED predicates
- Not with: ~, !~, IS, IS NOT, IN, NOT IN

## Examples

```
duedate >= startOfMonth() AND duedate <= endOfMonth() ORDER BY duedate ASC
```

Every deadline in the current month, in date order. The base for a month-close review. Run on Jira Cloud on 2026-11-29.

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

Open work that still has to land before the month ends. Run on Jira Cloud on 2026-11-29.

```
duedate <= endOfMonth("+1") AND duedate > endOfMonth() ORDER BY duedate ASC
```

Next month's deadlines only. Useful in a planning meeting at month end. Run on Jira Cloud on 2026-11-29.

```
duedate <= endOfMonth("+15d") AND statusCategory != Done
```

Open work due by mid-month after this one. The unit "d" is added to the month end, so it reaches 15 days into next month. Run on Jira Cloud on 2026-11-29.

```
duedate = endOfMonth()
```

Work due on the last day of the month, for a final-day checklist. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- `endOfMonth("+1")` is the end of next month, not 30 days from now. The offset unit decides: "+1" and "+1M" are a month, "+1d" is a day.
- The doc example `due < endOfMonth()` drops work due on the last date, because a due date has no time. Use `<=` for "by the end of the month" (checked on Jira Cloud, November 2026).
- Short months are handled for you. You do not need to write 28, 30 or 31, which is the whole reason to use the function instead of a typed date in a saved filter.

## Questions and answers

### Which JQL gives work items due this month?

Use duedate >= startOfMonth() AND duedate <= endOfMonth(). Add statusCategory != Done to keep only open work.

## Related

- [startOfMonth()](https://goingstellar.ro/reference/jql/startofmonth/)
- [endOfWeek()](https://goingstellar.ro/reference/jql/endofweek/)
- [endOfDay()](https://goingstellar.ro/reference/jql/endofday/)
- [endOfYear()](https://goingstellar.ro/reference/jql/endofyear/)
- [duedate](https://goingstellar.ro/reference/jql/duedate-field/)
- [now()](https://goingstellar.ro/reference/jql/now/)

## Sources

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

