stable

Clone or download

Read-only

Have a dedicated object to build string 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 regarding string changes, for both Tuleap export and Jira import process. Change-Id: I03a3558b9a9aea5572ac7e59c6910365c512a4a0

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +14 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +11 −16 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +7 −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/ChangesetValueStringXMLExporter.class.php +17 −7 Go to diff View file
A plugins/tracker/include/Tracker/XML/Exporter/FieldChange/FieldChangeStringBuilder.php +54 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +14 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +4 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/XML/Exporter/FieldChange/FieldChangeStringBuilderTest.php +64 −0 Go to diff View file