stable

Clone or download

Read-only

Fix import of `GITINTE` jira project

This project highlighted 2 bugs that are fixed by this commit: * Some changes in changelog might not have authors. Those changes are shown as being made by "Anonymous" in Jira. It's translated into the regular Import User in Tuleap. * Some changes in changelog might reference values that are not present in mapping. This might happen if a value was used in the past but no longer references in /project/:id/statuses route. In this case, the value is skipped at import. Part of story #19726 improve jira project import Change-Id: I1458eb86af15fd3c19400fa54c6228c5d873f961

Modified Files

Name
M plugins/timetracking/include/Timetracking/JiraImporter/Worklog/Worklog.php +2 −1 Go to diff View file
M plugins/timetracking/tests/unit/JiraImporter/JiraXMLExportTest.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentation.php +9 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Comment/Comment.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +19 −7 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InvalidMappingValueException.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +1 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/ActiveJiraUser.php +64 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/AnonymousJiraUser.php +45 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUser.php +7 −35 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUserInfoQuerier.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUserRetriever.php +7 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentationTest.php +30 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Comment/CommentXMLValueEnhancerTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +43 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/User/JiraTuleapUsersMappingTest.php +3 −3 Go to diff View file