Going Stellar

Home/CQL reference

CQL field

creator in CQL: syntax and examples (Confluence)

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

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

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 .

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 .

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 .

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 .

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 .

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.

Sources

  1. CQL fields (Atlassian Developer, Confluence Cloud)
  2. CQL functions (Atlassian Developer, Confluence Cloud)

Markdown version · All CQL pages