Useful CQLs
For more information, visit Advanced Searching Using CQL
- 1 Find content within the current space
- 2 Find content by title within the current space
- 3 Find content that has mentioned the current user
- 4 Find content in the current space that mentions the given user
- 5 Find page that is favourited by the current user
- 6 Find content that are contributed by the given user since past week
- 7 Find content that has the CQL navigation macro
- 8 Display pages within the current space that do not have any label
- 9 Appendix A - List of Placeholder variables
Find content within the current space
text ~ $$query$$ and space = $$space.key$$
Find content by title within the current space
title ~ $$query$$ and space = $$space.key$$
Find content that has mentioned the current user
text ~ $$query$$ and mention = currentUser()
Find content in the current space that mentions the given user
Find page that is favourited by the current user
Find content that are contributed by the given user since past week
For this to work, please set the Search Type to Exact Match
Find content that has the CQL navigation macro
Display pages within the current space that do not have any label
Appendix A - List of Placeholder variables
Placeholder | Description |
---|---|
$$space.key$$ | The key of the current space |
$$space.title$$ | The title of the current space |
$$id$$ | The id of the current page |
$$parentid$$ | The key of the parent page |
$$title$$ | The title of the current page |
$$created$$ | The created date of the current page |
$$lastmodified$$ | The last modified date of the current page |