count/maxResults/size parameter not working on the "Get Users" SCIM REST API

Dylan Pokun July 13, 2021

Hi everyone,

Thank you in advance for reading me.

I'm currently limited on this API call to 100 "itemsPerPage" : https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get

There's a "count" query parameter mentionned in the documentation but it doesn't seem to work. There are 5000+ users so I'm forced to make 50+ calls to get them all, 100 at a time, incrementing the startIndex 100 at a time. That's very problematic with ScriptRunner for Jira Cloud's 120s limitation. 1000 at a time would be much better =) (literally 10 times better)

Can someone please tell me if they can return more than 100 users at a time with this API?

Thanks in advance!

Regards,

Dylan 

0 answers

Suggest an answer

Log in or Sign up to answer