stable

Clone or download

Read-only

Refactoring: introduce a dedicated object to deal with changeset with data

This is part of story #14925 Import Jira issue comments No functional changes expected here. The same kind of object will be created to deal with comments. (comments and issue data are 2 different things in Jira that will be converted into changesets) ArtiactXMLExporter is quite big. Moving this responsibility into a dedicated object will ease the readability and the maintainability. Change-Id: Ibb7c9a0cfef6f9da1722e72cd77fa5b2438411d3

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +11 −58 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +106 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +22 −19 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +22 −19 Go to diff View file