In this page

Overview

This page lists sample CQL queries for common use cases around excluded content. They're completely standard CQL queries, so you can use them as-is, adapt them to your own needs, or freely combine them with any other CQL field or function for more complex searches.

Query samples

Content-level exclusion

Value

Contents excluded:

arch.exclusion = "true"

Contents excluded together with their descendants:

arch.exclusion.inherited = "true"
Who

Contents excluded by a specific user:

arch.exclusion.setBy = "123abcde95673300697be2ba"

(The alphanumeric string is the user's Atlassian account ID. How to figure out?)

Contents excluded by specific users:

arch.exclusion.setBy in ("123abcde95673300697be2ba", "456fabcd1238456789abcdef")

(The alphanumeric string is the user's Atlassian account ID. How to figure out?)

Contents excluded by me:

arch.exclusion.setBy = currentUser()
When

Contents excluded before a specific date:

arch.exclusion.setOn < "2026-08-01"

Contents excluded in a specific period:

arch.exclusion.setOn > "2026-01-15" and arch.exclusion.setOn < "2026-08-01"

Contents excluded today:

arch.exclusion.setOn >= startOfDay()

Space-level exclusion

Contents in excluded spaces:

arch.inExcludedSpace = "true"

Questions?

Ask us any time.