stable

Clone or download

Read-only

fix(jira): Import should ignore missing link types

When import is done with jira_import plugin the needed types are created before the import. When import is done through Tracker creation, link types might not be there. In both case, when link type is missing it should not lead to an empty changeset because all the other data are lost. Closes request #24998 Jira issue type import shouldn't fail on missing link types Change-Id: Iccf53d9d13b8ef70dc6a72879adc7b7379b4bcd3

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +33 −52 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/FormElement/Field/ArtifactLink/Type/AllTypesRetriever.php +3 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +10 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +87 −19 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php +9 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SP/tracker.xml +1 −1 Go to diff View file