stable

Clone or download

Read-only

feat(jira): Add issuetype field in mono tracker import

This is part of story #32788 Introduce the Jira project import with a solo tracker The imported mono tracker has now the issuetype field with all project issueType as value. The method mergeAllProjectFields will be extracted in a dedicated and unit tested object in the next commit. How to test ----------- * Set the feature flag feature_flag_jira_import_mono_tracker_mode to 1 * Run a Jira project import => The project is created with a mono tracker with used fields and issuetype field and reports and without any data. * Set the feature flag feature_flag_jira_import_mono_tracker_mode to 0 * Run a Jira project import => The project is created with an multi trackers and with all expected data (as before). Change-Id: Ic66e7e6716a3697b39911a34d80f7ff28bc9fcf1

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporter.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraAllIssuesMonoTrackersInXmlExporter.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraIssuesFromProjectInMonoTrackerInXmlExporter.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldAPIRepresentation.php +15 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php +14 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraIssuesFromProjectInMonoTrackerInXmlExporterTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +66 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/mono_tracker.xml +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/mono_tracker.xml +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/mono_tracker.xml +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBXv9/mono_tracker.xml +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/mono_tracker.xml +12 −0 Go to diff View file