Differences in CQL between Confluence Cloud and Data Center
Introduction
For those who are doing migration from Confluence Data Center to Confluence Cloud, there are some differences between the two. Some CQL statements might not work if you just copy and paste the statements across.
We have summarized the differences below.
Hope it helps.
Feature Parity
CQL Fields
Field | Remarks | ||
|---|---|---|---|
Ancestor |
|
| In Confluence Cloud, the |
Container |
|
|
|
Content |
|
|
|
Created |
|
|
|
Creator |
|
| The username needs to be replaced with the account ID |
Contributor |
|
| The username needs to be replaced with the account ID |
favourite, favourite |
|
|
|
ID |
|
|
|
Label |
|
|
|
LastModified |
|
|
|
Macro |
|
|
|
Mention |
|
| The username needs to be replaced with the account ID |
Parent |
|
|
|
PageStatus |
|
|
|
Space |
|
|
|
space.category |
|
| |
space.key |
|
| |
space.title |
|
| |
space.type |
|
| |
Text |
|
|
|
Title |
|
|
|
Type |
|
| Cloud supports additional content types
|
Watcher |
|
| The username needs to be replaced with the account ID |
User |
|
|
|
CQL Functions
Field | Remarks | ||
|---|---|---|---|
currentUser() |
|
| |
endOfDay() |
|
| |
endOfMonth() |
|
| |
endOfWeek() |
|
| |
endOfYear() |
|
| |
startOfDay() |
|
| |
startOfMonth() |
|
| |
startOfWeek() |
|
| |
startOfYear() |
|
| |
favouriteSpaces() |
|
| |
recentlyViewedContent() |
| For Cloud, this function can only return a maximum of 200 results. | |
recentlyViewedSpaces() |
| For Cloud, this function can only return a maximum of 200 results. |