Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-82526

Cannot delete user using the Jira API if issues are assigned, have comments or are reported by the users

    • 407
    • 64
    • 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.

      Summary

      Cannot delete a user using the Jira API if issues are assigned, reported, or have comments added by the users

      How to Replicate

      1. Assign issues to the user, have tickets created/reported by the user, or have tickets where the user added comments.
      2. 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.

            [JRACLOUD-82526] Cannot delete user using the Jira API if issues are assigned, have comments or are reported by the users

            No work has yet been logged on this issue.

              Unassigned Unassigned
              mfaiz@atlassian.com Mohamed Faiz (Inactive)
              Votes:
              96 Vote for this issue
              Watchers:
              105 Start watching this issue

                Created:
                Updated: