Details
-
Bug
-
Resolution: Fixed
-
Low
-
1
-
Severity 3 - Minor
-
Description
Summary
When using the "GET /rest/api/group/
{groupName}
/member" REST API endpoint, The results are always the same set regardless of start parameter. This prevents cycling over the existing values as they are not paginated.
Environment
Cloud
Steps to Reproduce
- find a group with a good number of members (30 is fine).
- run a REST call to a URL like: "https://INSTANCE.atlassian.net/wiki/rest/api/group/confluence-users/member?limit=10&start=0" where "confluence-users" is the group that you want to use.
- Run the same query with the "start" variable moved up to the next set (in this case "10")
- Compare the users in the results.
Expected Results
You see the next set of results in the list
Actual Results
The users in the results set will be identical.
The "Next" value will point to the same query with the start value incremented by the limit. This is true regardless of the start value as the system always populates with the same starting set of users.
Only the first 200 members of the group can be shown as 200 is the maximum number of results that will return.
Notes
Workaround
Use the limit value up to 200 for groups with less than 200 users.
There is no workaround for groups with more than 200 users.
Attachments
Issue Links
- is related to
-
CONFCLOUD-66469 Get group members REST API is missing "next" link used for pagination
- Closed
- mentioned in
-
Page Loading...