stable

Clone or download

Read-only

feat(jira): Begin to import structure in mono tracker

This is part of story #32788 Introduce the Jira project import with a solo tracker The imported mono tracker has now all fields used in project. A field "issue type" will be added in a next commit. Reports are also imported. Artifacts are not imported yet. 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 fields 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: I4c93182a0ba013a02bcdfeb9d3a2a59ddca51ff1

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraAllIssuesInXmlExporterBuilder.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraAllIssuesMonoTrackersInXmlExporter.php +17 −2 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraIssuesFromProjectInMonoTrackerInXmlExporter.php +265 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollection.php +34 −5 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraIssuesFromProjectInMonoTrackerInXmlExporterTest.php +240 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollectionTest.php +71 −23 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/mono_tracker.xml +651 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/mono_tracker.xml +594 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/mono_tracker.xml +776 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBXv9/mono_tracker.xml +776 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/mono_tracker.xml +415 −0 Go to diff View file