Hello ,
I am using following atlassian KB page for getting licensed users .
With the help of rest api i am getting around 4682 licensed users but when i am logging in to Stash as an administrator and checking then i can see there are 8436 licensed users . Why there is a mismatch . What i am doing wrong ?
This is my get request for getting licensed users :
https://<serverurl>/rest/api/1.0/users?permission=LICENSED_USER&limit=1000&start=28767
You’re running into a bug discussed on BSERV-7571 where users are dropped when you use a limit larger than 1/2 the configured max page size. The default max page size for users is 1000, so passing limit=1000 means users are getting dropped from the results. Try your query again using limit=500 (or less) and you’ll get the correct result.
I’ve split BSERV-11884 from BSERV-7571 to track fixing the paging.
Best regards,
Bryan Turner
Atlassian Bitbucket
Hi!
I've seen you submitted the same question via our Support portal, please continue collaborating with my colleagues until the resolution of the issue :) Once it's solved, don't forget to post the solution here so it can help other users!
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.