Query parameter "excludeInactiveUsers" does not work for REST API " GET /rest/api/2/project/{projectIdOrKey}/role/{id}"

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      Query parameter "excludeInactiveUsers" does not work for REST API " GET /rest/api/2/project/{projectIdOrKey}/role/{id}"

      Steps to Reproduce

      1. Refer to https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-project-roles/#api-rest-api-2-project-projectidorkey-role-id-get, the query parameter excludeInactiveUsers by default is false
      2. Perform a GET request towards https://<site>.atlassian.net/rest/api/3/project/{projectIdOrKey}/role/{id}?excludeInactiveUsers=true

      Expected Results

      Only active users to be shown, inactive users to be excluded from the response

      Actual Results

      Inactive users are retrieved, this does not match what the "Project settings > People" shows.

      Workaround

      N/A

            Assignee:
            Unassigned
            Reporter:
            Enida (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: