I have successfully created a user (POST /rest/api/2/user), but am unable to update users (PUT /rest/api/2/user). I have tried to change emailAddress, displayName, and active status without any success. I am getting "Internal server error" for emailAddress and displayName update attempts, and "No value found to be changed" for active status.
I realize that update user is "experimental", and I have managed to locate a Nov 2016 document (https://confluence.atlassian.com/jirakb/user-management-rest-api-changes-in-jira-cloud-858756548.html) which discusses limitations, though it implies that active status should be modifyable.
Inability to make even basic user changes is a sever limitation for my application.
There have been changes recently to the Cloud API. They are cited in the KB article you linked to: User management REST API changes in JIRA Cloud
This request can only modify the "active status" of the user
Passwords included in the request payload will always be ignored
This particular rest end point is only able to set the active/inactive status of a user now, it cannot be used any longer to change values like email address. I am afraid that there is not any other REST endpoint that can make this change in Cloud at this time.
The Cloud offerings have changed this because they are rolling out a new means to manage these accounts.
Perhaps you could look into using JIRA Server as a means to manage these user accounts via REST. The Server side does not have this same restriction, but of course this implies that you would be hosting and managing your own JIRA instance rather than using the Cloud offerings.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot