stable

Clone or download

Read-only

Create inital changeset

This is part of story #14927 Import issue history The ail of this patch is to recreate the inital state of the issue (the first changeset). To do this, we retrieved the last state of the issue, and then we do a diff with all the changelog to recreate at best this initial state. For now, 2 changesets are created by imported artifacts : * the initial changeset with creation date * the last changeset (copy of the current state) with last update date The full changelog will be imported in next commits. Change-Id: I4b5a715ad1319bb8cfcf8e40c87aacd4fe5fc48b

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporter.php +22 −7 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogAPIResponseNotWellFormedException.php +30 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntriesBuilder.php +114 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryItemsRepresentation.php +93 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentation.php +79 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/CreationStateDataGenerator.php +127 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +87 −20 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +30 −10 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/Creation/JiraImporter/JiraConnectionException.php +11 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +2 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporterTest.php +21 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +80 −16 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryItemsRepresentationTest.php +95 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentationTest.php +75 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/CreationStateDataGeneratorTest.php +191 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +69 −104 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +1 −1 Go to diff View file