Forums

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

Duplicate user keys were encountered when doing a jira cloud restore

Jonathan Rothwell
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!
February 19, 2019

Duplicate user keys were encountered so import does not complete. How do I get rid of the duplicates as they do not appear in the User UI as duplicates.

1 answer

1 accepted

1 vote
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2019

Hi Jonathan,

You can check the duplicated users on entities.xml file on the backup.
It will look like this:

<User id="12345" directoryId="1" userName="angelica" lowerUserName="angelica" active="1" createdDate="2018-08-16 15:15:49.178" updatedDate="2018-08-16 15:15:49.178" displayName="Angélica Luz" lowerDisplayName="angélica luz" emailAddress="angelica@domain.com" lowerEmailAddress="angelica@domain.com" credential="nopass" externalId="5ade10bdb013132e70fdb5d5" localServiceDeskUser="0"/>

If you have few users that you can manually add, you can remove all entries from the file, save and zip it again to import.
If you have many users, please let us know if they are on the same or different directory.

Regards,
Angélica

Jonathan Rothwell
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!
February 21, 2019

Thanks removing all the users and importing it works as there were no duplicate users in the XML.

Like Angélica Luz likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events