stable

Clone or download

Read-only

Have a dedicated object to build date field changes

This is part of story #14766 Have an import from jira structure. This is a refactoring, no functional changes expected here. The aim of this refactoring is to centralize in a dedicated object the building of the XML field change node, for both Tuleap export and Jira import process. Change-Id: I35a8e75505a37d023945ced545a7a557725d1a04

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +18 −8 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ArtifactXMLExporterBuilder.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueDateXMLExporter.class.php +21 −12 Go to diff View file
A plugins/tracker/include/Tracker/XML/Exporter/FieldChange/FieldChangeDateBuilder.php +56 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +7 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +19 −13 Go to diff View file
A plugins/tracker/tests/unit/Tracker/XML/Exporter/FieldChange/FieldChangeDateBuilderTest.php +67 −0 Go to diff View file