stable

Clone or download

Read-only

Import worklogs for issues

This is part of story #19253 import worklog as timetracking Worklogs are now imported (without description for now). They are mapped to the user who added the worklog if it exposes its email address, otherwise the time will be added by the default tracker import user. Change-Id: I1764806a254ac62b771ed1d724bb877e0e58064e

Modified Files

Name
M plugins/timetracking/include/Timetracking/JiraImporter/JiraXMLExport.php +68 −7 Go to diff View file
A plugins/timetracking/include/Timetracking/JiraImporter/Worklog/Worklog.php +109 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/JiraImporter/Worklog/WorklogAPIResponseNotWellFormedException.php +30 −0 Go to diff View file
A plugins/timetracking/include/Timetracking/JiraImporter/Worklog/WorklogRetriever.php +88 −0 Go to diff View file
M plugins/timetracking/include/timetrackingPlugin.php +8 −1 Go to diff View file
M plugins/timetracking/tests/unit/JiraImporter/JiraXMLExportTest.php +109 −6 Go to diff View file
A plugins/timetracking/tests/unit/JiraImporter/Worklog/WorklogRetrieverTest.php +101 −0 Go to diff View file
A plugins/timetracking/tests/unit/JiraImporter/Worklog/WorklogTest.php +145 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +8 −3 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/IssueAPIRepresentationCollection.php +45 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraImporterExternalPluginsEvent.php +44 −3 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +16 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +9 −0 Go to diff View file