Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-1463

[JIRAALIGN-1463] API v2.0 : WHOAMI API call results in 401 errors for non-Super Admin users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 10.72
    • 10.69, 10.70
    • REST API
    • 4
    • Severity 3 - Minor
    • Batman! - SCORP4

    Description

      Issue Summary

      API v2.0 : whoami API call results in 401 Unauthorized error for non-Super Admin users

      Steps to Reproduce

      Pre-requisites:
      • API 2.0 feature toggle ID 92 must be enabled
      • User's API token must be valid
      • User's RoleID must be other than 9 (Super Admin)
      Steps
      1. By using some API client, make an API call to https://instance.agilecraft.com/rest/align/api/2/Users/whoami

      Actual Results

      • A 401 Unauthorized error code is returned.

      Expected Results

      • A 200 OK status code with the corresponding data of the authorised user.

      Workaround

      • Use UI instead of API

      Attachments

        Activity

          People

            kforeman@atlassian.com Kyle Foreman
            rcortez@atlassian.com Rodrigo Cortez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Backbone Issue Sync