Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-43999

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

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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: