# creator in CQL: syntax and examples (Confluence)

URL: https://goingstellar.ro/reference/cql/creator-field/

creator matches the person who first created a page, comment or attachment. Use it for "what did I create" lists, for an author clean-up, or to narrow a search to one person's work. It does not change when someone else edits the content later.

## Syntax

```
creator = currentUser()
creator = "<accountId>"
creator.fullname ~ "<name>"
```

## Arguments

- `accountId` (optional: no): The Atlassian account id of the user, as a quoted string. A display name does not work here.
- `currentUser()` (optional: no): The person running the search.
- `.fullname` (optional: no): A sub-field holding the display name. It takes ~ for a text match and depends on profile visibility.

## Works with

- Operators: =, !=, IN, NOT IN
- Functions: currentUser()
- Not with: ~, !~, >, >=, <, <= on creator itself. Text matching goes through creator.fullname.

## Examples

```
creator = currentUser() AND type = page AND space = SD ORDER BY created DESC
```

Pages you started in a space, newest first. A starting point when you tidy up your own drafts. Run on Confluence Cloud on 2026-11-29.

```
creator.fullname ~ "Gigi" AND type = page AND space = SD
```

Pages by an author you only know by name. The match is on the display name, so a first name is enough. Run on Confluence Cloud on 2026-11-29.

```
creator = currentUser() AND type = attachment
```

Files you uploaded, across all spaces. Useful before you delete an old export or image. Run on Confluence Cloud on 2026-11-29.

```
creator in (currentUser()) AND type = comment
```

Comments you wrote, written with IN so the list can grow to several people later. Run on Confluence Cloud on 2026-11-29.

```
creator = currentUser() AND type = page AND lastmodified < now("-6M") ORDER BY lastmodified ASC
```

Your pages that have not been edited for half a year. Review each one, then archive or refresh it. Run on Confluence Cloud on 2026-11-29.

## Pitfalls

- A name in `creator = "Gigi"` runs without error but matches nothing, because the value is not an account id. Use `creator.fullname ~ "Gigi"` for names (checked on Confluence Cloud, November 2026).
- `creator.fullname = "Gigi"` fails with "Could not parse cql". The sub-field only takes ~ and !~.
- The unsupported operators say so plainly: `creator ~ currentUser()` returns: Operator '~' is not supported for field 'creator'. Only =, !=, IN and NOT IN are accepted.
- creator names only who created the content. To include people who edited it later, switch to contributor.

## Questions and answers

### Can I search by display name?

Yes, through creator.fullname ~ "name". The documentation notes that it depends on profile visibility. Searching creator = with a name matches nothing.

## Related

- [contributor](https://goingstellar.ro/reference/cql/contributor-field/)
- [currentUser()](https://goingstellar.ro/reference/cql/currentuser/)
- [user](https://goingstellar.ro/reference/cql/user-field/)
- [IN](https://goingstellar.ro/reference/cql/in-operator/)
- [lastmodified](https://goingstellar.ro/reference/cql/lastmodified-field/)
- [watcher](https://goingstellar.ro/reference/cql/watcher-field/)

## Sources

- [CQL fields (Atlassian Developer, Confluence Cloud)](https://developer.atlassian.com/cloud/confluence/cql-fields/)
- [CQL functions (Atlassian Developer, Confluence Cloud)](https://developer.atlassian.com/cloud/confluence/cql-functions/)

