# AND keyword in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/and-keyword/

AND puts two or more conditions into one query, and a work item has to satisfy every one of them to appear. Each extra AND narrows the list. It is the keyword behind almost every saved filter, from a stand-up board to an overdue report.

## Syntax

```
c
o
n
d
i
t
i
o
n
1
 
A
N
D
 
c
o
n
d
i
t
i
o
n
2
 
[
A
N
D
 
c
o
n
d
i
t
i
o
n
3
 
.
.
.
]
```

## Works with

- Joins: any two clauses, including clauses with functions, IN lists and brackets
- Pairs with: OR and NOT, and brackets to set the order
- Not with: ORDER BY, which must come after the last AND clause

## Examples

```
project = WEB AND status = "In Progress" AND priority = High
```

The urgent work that someone is touching right now. A short list to open a stand-up with. Run on Jira Cloud on 2026-11-29.

```
project in (WEB, MOB) AND statusCategory != Done AND duedate < now()
```

Everything late and still open across two projects, ready to send to the leads on Monday. Run on Jira Cloud on 2026-11-29.

```
project = WEB AND (status = "To Do" OR status = "In Progress")
```

Work that is either waiting or underway, kept inside one project. The brackets turn the two statuses into a single condition. Run on Jira Cloud on 2026-11-29.

```
project = WEB AND created >= startOfMonth() AND created <= endOfMonth()
```

The month's intake for one project. Two conditions on the same date field mark the start and the end of a range. Run on Jira Cloud on 2026-11-29.

```
(assignee = currentUser() OR reporter = currentUser()) AND statusCategory != Done ORDER BY updated DESC
```

Open items you own or raised, most recently touched first. AND ties the bracketed pair to the open-work check, and ORDER BY closes the query. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- AND is evaluated before OR when there are no brackets. `project = WEB AND status = "To Do" OR status = "In Progress"` is read as "WEB and To Do" plus "anything In Progress", so work from other projects slips in. Writing `project = WEB AND (status = "To Do" OR status = "In Progress")` keeps the list inside WEB (checked on Jira Cloud, November 2026).
- Two AND conditions on a field that holds a single value never match. `status = "To Do" AND status = "In Progress"` runs without an error and finds nothing, because an item has one status at a time. Use OR or IN for "either" (checked on Jira Cloud, November 2026).
- Some Atlassian examples still say "space". `space = WEB AND status = "To Do"` fails with "Field 'space' does not exist or you do not have permission to view it." The JQL field is `project`.
- ORDER BY ends the query. `project = WEB ORDER BY created DESC AND status = Done` fails with "Expecting ',' but got 'AND'." Put every AND clause first.

## Ready-made queries

- [Overdue work items](https://goingstellar.ro/tools/jql-examples/#overdue)
- [Due today](https://goingstellar.ro/tools/jql-examples/#due-today)
- [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)
- [Open work with no due date](https://goingstellar.ro/tools/jql-examples/#no-due-date)
- [Overdue and unassigned](https://goingstellar.ro/tools/jql-examples/#overdue-unassigned)
- [Unassigned open work](https://goingstellar.ro/tools/jql-examples/#unassigned)
- [My open work](https://goingstellar.ro/tools/jql-examples/#my-open)

## Questions and answers

### Does AND run before OR in JQL?

Yes. AND binds more tightly, so mixed conditions without brackets are grouped around the ANDs first. Add brackets whenever you mean something else.

## Related

- [OR](https://goingstellar.ro/reference/jql/or-keyword/)
- [NOT](https://goingstellar.ro/reference/jql/not-keyword/)
- [ORDER BY](https://goingstellar.ro/reference/jql/order-by/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [Equals (=)](https://goingstellar.ro/reference/jql/equals-operator/)
- [Not equals (!=)](https://goingstellar.ro/reference/jql/not-equals-operator/)

## Sources

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

