stable

Clone or download

Read-only

fix(jira): Do not duplicate statuses in mono tracker import

This is part of story #32788 Introduce the Jira project import with a solo tracker The imported mono tracker statuses are no more duiplicated. 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 unique statuses 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: I7a31aeb9faa81d5dba2a89dae37d5fda97a49172

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollection.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollectionTest.php +15 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/mono_tracker.xml +0 −90 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/mono_tracker.xml +12 −165 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/mono_tracker.xml +0 −186 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBXv9/mono_tracker.xml +0 −186 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/mono_tracker.xml +0 −45 Go to diff View file