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

Update JIRA REST documentation about removing a user from a project role

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Actually on the JIRA REST API documentation (https://docs.atlassian.com/jira/REST/latest/#api/2/project/

      {projectIdOrKey}

      /role-deleteActor) there's no example to remove a user/group from a project role:

      DELETE
      Remove actors from a project role.

      available response representations:

      204 [expand]
      Returned if the actor was successfully removed from the project role.

      404 [expand]
      Returned if the project or role is not found, the calling user does not have permission to view it, or does not have permission to modify the actors in the project role.

      It may lead a customer (and I admit, myself) to use the example code from the POST/PUT methods on the DELETE method, and it won't work. The DELETE method must be invoked with the following URL:

      Attachments

        Issue Links

          Activity

            People

              alui Andrew
              eeffaf7d6231 Neven Radovanovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: