Requesting current user with the REST API does not return the accountType field

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When requesting the current user using the API documented at https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-myself/#api-rest-api-2-myself-get the accountType field is not returned in the results as expected.

      Steps to Reproduce

      1. Try to access /rest/api/2/myself

      Expected Results

      The data returned includes the accountType field.

      Actual Results

      The accountType field is not returned.

      Workaround

      When using the REST API for individual users, the accountType field is returned:
      e.g. /rest/api/2/user?accountId=<my account ID>

      However, this is not an option for JSM customer users as they do not have permission to access the /rest/api/2/user endpoint, only /rest/api/2/myself.

      Note: the same results are seen with the API v3.

            Assignee:
            Ben Kelley
            Reporter:
            Bernardo Andreeti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: