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

JIRA API disabling users

XMLWordPrintable

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

      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

            2015ae912494 Stefan Scorse
            kgrier kitkat (Inactive)
            Votes:
            463 Vote for this issue
            Watchers:
            276 Start watching this issue

              Created:
              Updated: