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

JIRA API disabling users

    XMLWordPrintable

Details

    • 856
    • 34
    • Hide
      Atlassian Update – 22 July 2019

      Hi everyone,

      Jira API for disabling users is now available in Jira 8.3 released today. You can download 8.3 here or read more in the release notes.

      Katarzyna Derenda
      Senior Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 22 July 2019 Hi everyone, Jira API for disabling users is now available in Jira 8.3 released today. You can download 8.3  here or read more in the release notes . Katarzyna Derenda Senior Product Manager, Jira Server and Data Center
    • 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.

      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

      Please check Atlassian Answers Disabling multiple users in bulk - using REST for possible workarounds.

      Attachments

        Issue Links

          Activity

            People

              mmasiorski Marcin Masiorski (Inactive)
              kgrier kitkat
              Votes:
              262 Vote for this issue
              Watchers:
              154 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: