Migrate Project between Instances

Hi,

We are trying to migrate selected projects using the Project Configurator plugin where the user base is connected to the same Active Directory however the usernames are configured differently on both instances. On the source instance the username are the SamAccount Name of the user while on the destination instance the username is the Email address of the same user. 

How do we go about making use of the Project Configurator plugin to successfully migrate the projects between both these instances?

We can assume that every user that was part of the project on the Source instance has already used the Destination instance, so they have active accounts.

There would then have to be some sort of data transformation that would need to occur to update the SamAccount names to Email addresses in the exported file from the Source instance. 

There are 3 files in the export.

1) config.xml

2) data/ativeobjects.xml

3) data/entities.xml

Is there a proposed approach on how we should go about updating the data in the file above ?  There are not only usernames but also Ids in these files.

 

We are only concerned about the data shared with the projects we are migrating. See export configuration below:

image.png

 

Your assistance would be much appreaciated.

 

Jira Server Version : 7.2.6

 

Regards,

Avinash

1 answer

Hi Avinash,

I would suggest changing temporarily the LDAP mappings in one of the instances so that the usernames are equal in both instances. This change would only need to be in place at the moment of exporting (at the source) or when importing (if you choose to change it at the target).

Cheers!

Hi José,

We have made the change you suggested, and have exported the project again using the changed usernames. However, when attempting to do the import, it keeps failing with below message:

Import results:

Data import for project AC did NOT complete.

...

WARN 17:50:40,137 Missing 'email' field for User entry id = 17138
INFO 17:50:40,516 Project Import: Mapping the backed up data to data in the current system, and validating the mappings...
INFO 17:50:40,596 Project Import: Validation errors were found. The import cannot continue.
ERROR 17:50:40,596 The custom field 'Type of Request' requires option 'Roadmap' for the import but it does not exist in the current JIRA instance.
ERROR 17:50:40,596 The custom field 'On Roadmap' requires option 'Yes' for the import but it does not exist in the current JIRA instance.
ERROR 17:50:40,596 The custom field 'On Roadmap' requires option 'Yes' for the import but it does not exist in the current JIRA instance.

What would be causing this to happen?

Thanks for your assistance.

Kind regards,

Jason

 

Hi Jason,

This is a different issue. Please see this article in the plugin documentation for an explanation and a fix.

You are welcome!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,796 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot