stable

Clone or download

Read-only

fix(jira): data loss when changelog entry has same timestamp than issue

The new class for managing SnapshotCollection is intended to capture the differences that might happens between Tuleap and Jira. One of the main concern is that first change is very important because it captures a lof of the informations of the issue. Closes request #39694 Jira import leads to missing changesets when change are within the same second Change-Id: Ied10385069a8ff1b503b07a9fcaa31c3d9029aca

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilder.php +14 −76 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/SnapshotCollection.php +101 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Comment/CommentTestBuilder.php +65 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/FieldSnapshotTestBuilder.php +62 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +14 −8 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/SnapshotCollectionTest.php +219 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/SnapshotTestBuilder.php +67 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraIssuesFromIssueTypeInDedicatedTrackerInXmlExporterTest.php +9 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/all_issues.json +581 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/createmeta.json +232 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/expand_editmeta_search.json +906 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/issuetype.json +9 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/manifest.log +9 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/mypermissions.json +576 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/priorities.json +42 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/sbx6.json +605 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/statuses.json +1148 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/TimestampConflicts/tracker.xml +734 −0 Go to diff View file