Hello,
I am using content by label to perform a CQL search for all pages that are drafts:
$action.getHelper().renderConfluenceMacro('{contentbylabel:cql=state="draft"}')
This returns almost all the pages that are drafts. Some are not being returned for some reason. I have verified this by doing a REST API search.
Why might this be happening, and is there an easier way to do a CQL/REST API search in a macro?
Thanks for the help.