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

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ezhapa Enida
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: