stable

Clone or download

Read-only

Import issue's attachments

This is part of story #14928 Import Jira attachments Attachments are now imported with the issues. They are all imported in the first changeset. History will be checked later if possible. All the files are stored in /var/tmp/jira_import, a cleanup will be done in a dedicated commit. Change-Id: I80e9309a129513c5e01b2fabb0939e7dbf984a73

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +32 −6 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/Attachment.php +119 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentCollectionBuilder.php +44 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloader.php +87 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentIssueAPIResponseNotWellFormedException.php +30 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentXMLExporter.php +79 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +18 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php +9 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php +61 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilder.php +12 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +10 −0 Go to diff View file
A plugins/tracker/include/Tracker/XML/Exporter/FieldChange/FieldChangeFileBuilder.php +46 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +19 −3 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloaderTest.php +74 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentTest.php +49 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentXMLExporterTest.php +85 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +2 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php +51 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +8 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/XML/Exporter/FieldChange/FieldChangeFileBuilderTest.php +78 −0 Go to diff View file