Group "get members" endpoint for Confluence Cloud REST API does not paginate results

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      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

      1. find a group with a good number of members (30 is fine).
      2. 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.
      3. Run the same query with the "start" variable moved up to the next set (in this case "10")
      4. 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.

            Assignee:
            josef
            Reporter:
            Jared Long
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: