-
Suggestion
-
Resolution: Unresolved
-
None
-
472
-
64
-
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Summary
Cannot delete a user using the Jira API if issues are assigned, reported, or have comments added by the users
How to Replicate
- Assign issues to the user, have tickets created/reported by the user, or have tickets where the user added comments.
- Try to delete the user using the Jira delete API(v2/v3)
Expected Result
The user should be deleted successfully
Actual Result
{"errorMessages":["Cannot delete user 'XXXXXXXX' because 170 issues were reported by this person.","Cannot delete user 'XXXXXXXX' because 3 issues are currently assigned to this person.","Cannot delete user 'XXXXXXXX' because they have made 23 comments."],"errors":{}}%
Cannot delete user 'xxxxx' because x issues are currently assigned to this person.
Cannot delete user 'xxxxx' because they have made x comments.
- is related to
-
JRASERVER-38052 Cannot delete user
- Closed
- relates to
-
JRACLOUD-82262 Improve delete users function for users with comments/issues
- Gathering Interest
- mentioned in
-
Page Failed to load
[JRACLOUD-82526] Cannot delete user using the Jira API if issues are assigned, have comments or are reported by the users
Pinned comments
All comments
All comments
Hi everyone,
23224c52fdab you can only use the admin user API if you are on the new user management experience.
Regards,
Cândido