Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-69614

Rest end point '/rest/api/2/group/member' is returning internal server error

XMLWordPrintable

      Summary

      When customers is using the "Get users from group" endpoint, they receive a "Internal Server Error":

      GET /rest/api/2/group/member
      

      Investigation Done

      If the URL does not use include the "startAt" and "maxResults" parameter, the REST API call will return an internal server error.

      For example, calling this REST endpoint:

      GET https://thefactore.atlassian.net/rest/api/2/group/member?groupname=jira-maconomy-sync
      

      will return this response:

      {"errorMessages":["Internal server error"],"errors":{}}
      

      Workaround

      Add these parameters at the end of the URL/REST end point.

      &startAt=0&maxResults=500
      

      The complete URL should look like this:

      https://<atlassian-domain>.atlassian.net/rest/api/2/group/member?includeInactiveUsers=false&groupname=onduty-stronghold&startAt=0&maxResults=500
      

      This will prevent the internal server error from being returned.

              msatriya Sadiq (Inactive)
              vchin Vincent Chin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: