Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Import Remove Users

excorpman1
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2020

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 ? 

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2020

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events