I just imported a past Jira project into my new account. I am trying to delete a user including all of the comments and interactions on my tickets. Is there a way to do get this done ?
Hello @excorpman1,
Welcome to Atlassian Community!
When deleting a user from a site, their contribution won't be deleted.
With that said, the best option, in this case, is to set the user as inactive, remove their contribution manually on the tickets, or use an API to delete the comments.
After that, delete the user from the site.
Also, if you testing Jira and are able to perform another import, another workaround you can test is by removing the comments from the entities.xml file. The comments look like this:
<Action id="10367" issue="19583" author="user.id" type="comment" created="2020-02-20 19:15:38.296" updateauthor="user.id" updated="2020-02-20 19:15:38.296">
<body><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sit amet facilisis magna, at suscipit lectus. Vestibulum mollis, mi non sagittis tempus, libero sapien facilisis nulla, a consequat sapien nisl vel velit. Etiam fringilla molestie lacus et rutrum.]]></body>
</Action>
So, you can check the comments made by the user and delete from <action> to </action> each comment. After that, save the file, zip it again, and import.
If there are not many comments, I would suggest to manually delete their comments from the UI.
Regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.