CQL "creator=currentUser() and type=page" can't get the all pages ?

山口尊広
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2020

I execute the CQL (Confluence Query Language) the following to get my all pages via rest api

creator=currentUser() and type=page

But I can't get the the pages of the SPACE key is "SSTB".

My workaround JQL is the following.

(space in (SSTB) and creator=currentUser() and type=page) or (creator=currentUser() and type=page)

But this one is for specific, not good.

Could you someone why the first CQL can't get the all pages or wrong point in CQL.

1 answer

0 votes
山口尊広
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2020

https://developer.atlassian.com/cloud/confluence/rest/api-group-search/#api-api-search-user-get

I found the result limits 25.

limit

integer

The maximum number of user objects to return per page. Note, this may be restricted by fixed system limits.

Default: 25Minimum: 0Format: int32

I added cql "&limit=100" at the end.

It solved and works.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events