# currentUser() in JQL: syntax and examples

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

currentUser() resolves to the person who is logged in and running the query. Put it in a saved filter or a dashboard gadget and every viewer sees their own work items. It replaces typing a name or account ID into the query.

## Syntax

```
c
u
r
r
e
n
t
U
s
e
r
(
)
```

## Works with

- Fields: Assignee, Reporter, Voter, Watcher, Creator, custom fields of type User
- Operators: =, !=
- Not with: ~, !~, >, >=, <, <=, IS, IS NOT, IN, NOT IN, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

## Examples

```
assignee = currentUser() AND statusCategory != Done ORDER BY priority DESC
```

A personal to-do list: everything assigned to you that is not finished, most urgent first. Run on Jira Cloud on 2026-11-29.

```
reporter = currentUser() AND assignee != currentUser()
```

Work you raised and handed to someone else. A good list to check before a status meeting, to chase what you are waiting for. Run on Jira Cloud on 2026-11-29.

```
assignee = currentUser() AND project = WEB AND status = "In Progress"
```

What you have in flight on the website project, for your own stand-up notes. Run on Jira Cloud on 2026-11-29.

```
watcher = currentUser() AND updated >= startOfDay("-7d")
```

Items you follow that moved in the last week. It catches changes to work you do not own. Run on Jira Cloud on 2026-11-29.

```
creator = currentUser() AND created >= startOfWeek() ORDER BY created DESC
```

Items you created since the start of this week, newest first. Handy as a weekly check of your own intake. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- Only `=` and `!=` are supported. The docs list `IN`, `NOT IN` and `IS` as unsupported with this function.
- `assignee ~ currentUser()` is rejected: "The operator '~' is not supported by the 'assignee' field."
- The function needs a logged-in user. A saved filter that anonymous visitors will open cannot use it.
- Two people opening the same filter get different results. That is the point, but it also means a screenshot of the result list is not proof of what a colleague sees.

## Ready-made queries

- [My open work](https://goingstellar.ro/tools/jql-examples/#my-open)
- [Open work I reported](https://goingstellar.ro/tools/jql-examples/#reported-by-me)
- [Open work not assigned to me](https://goingstellar.ro/tools/jql-examples/#not-assigned-to-list)
- [Once mine, now someone else&#x27;s](https://goingstellar.ro/tools/jql-examples/#assigned-to-me-before)

## Questions and answers

### How do I show only my own issues in a Jira filter?

Use assignee = currentUser(). Add statusCategory != Done to hide finished work.

## Related

- [membersOf()](https://goingstellar.ro/reference/jql/membersof/)
- [assignee](https://goingstellar.ro/reference/jql/assignee-field/)
- [reporter](https://goingstellar.ro/reference/jql/reporter-field/)
- [watcher](https://goingstellar.ro/reference/jql/watcher-field/)
- [creator](https://goingstellar.ro/reference/jql/creator-field/)
- [openSprints()](https://goingstellar.ro/reference/jql/opensprints/)

## Sources

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

