Uploaded image for project: 'Identity'
  1. Identity
  2. ID-8462

JIRA API disabling users

    XMLWordPrintable

Details

    • 765
    • 5
    • 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.

      Problem Definition

      It is very nice to be able to create new users via the API so that you can easily handle new hire employees, but the same should be true for employees that leave.

      Suggested Solution

      It would be good to be able to disable them via the API as well. For larger companies with lots of churn this can be very useful.

      Currently when trying to disable a bunch of old users via the API using the /rest/api/2/user endpoint via PUT:

      { "username": "abbasm", "active": false }

      Returns:
      {
      "errorMessages": [
      "error.no.value.found.to.be.changed"
      ],
      "errors": {}
      }

      Workarounds

      No workaround

      Attachments

        Issue Links

          Activity

            People

              2015ae912494 Stefan Scorse
              kgrier kitkat
              Votes:
              453 Vote for this issue
              Watchers:
              267 Start watching this issue

              Dates

                Created:
                Updated: