Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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:
Your assistance would be much appreaciated.
Jira Server Version : 7.2.6
Regards,
Avinash
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
This is a different issue. Please see this article in the plugin documentation for an explanation and a fix.
You are welcome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@DerivcoITServer you may also want to check whether you're affected by this JRASERVER-65734 issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.