stable

Clone or download

Read-only

feat(jira): Close request #31120 Jira Labels field must be imported as an open list

Jira standard Labels field must be handled by our Jira import tool. To match the behavior of this Jira field in Tuleap, we decided to import it as an open list field at Tuleap side. How to test ----------- * Do a Jira import (either whole project or a tracker import) with some issues that have values in labels field => These labels values must be well imported (with history). Change-Id: Ie5e5ff61fde940bf9cd16ca9169dcf7aa5242dae

Modified Files

Name
M plugins/jira_import/include/Project/CreateProjectFromJira.php +8 −2 Go to diff View file
M plugins/jira_import/include/Project/ReplayImportCommand.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +36 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php +24 −1 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/Labels/JiraLabel.php +39 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/Labels/JiraLabelsCollection.php +50 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/Labels/JiraLabelsRetriever.php +32 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/Labels/JiraLabelsRetrieverFromAPI.php +61 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/ListFieldMapping.php +17 −2 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/XML/XMLOpenListField.php +32 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/FieldChange/FieldChangeListBuilder.php +25 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/FromJiraTrackerCreatorTest.php +9 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +95 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php +7 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/tracker.xml +18 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Exporter/FieldChange/FieldChangeListBuilderTest.php +27 −6 Go to diff View file