Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,008
Community Members
 
Community Events
168
Community Groups

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

Edited

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

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

214 views 1 6
Read article

Atlassian Community Events