I have added label cqltest
to a draft (live-edit) page in confluence.
I am running the CQL search query:
search?cql=label=cqltest&cqlcontext=%7B%22contentStatuses%22%3A%5B%22draft%22%5D%7D
Observed behaviour
No results are returned.
Expected behaviour
The draft-page with the label cqltest
should be returned in the search results.
1 Like
Update:
It appears that a CQL search for drafts (or including) drafts like &cqlcontext={"contentStatuses":["draft"]}
[1] only returns drafts that the authenticated user has created/authored.
Any other authenticated user won’t see draft pages in search results, although this user can see them in the Confluence space LHS bar.
[1] cqlcontext=%7B%22contentStatuses%22%3A%5B%22draft%22%5D%7D