stable

Clone or download

Read-only

Import links types

In order to simplify the management of errors, the Jira source is trusted. That means that all the link types that are being exposed by Jira will be created Tuleap side if the same name doesn't exist yet. It will be created even if not used because it's easier to create everything and to (potentially) clean-up after if site admin doesn't want to expose un-used types. Part of story #18859 import a whole Jira project in CLI Change-Id: Iaeed8c47fb224c59d1f6233b2b8cf0a0af44a426

Modified Files

Name
A plugins/tracker/include/Tracker/Creation/JiraImporter/ArtifactLinkType/ArtifactLinkTypeImporter.php +75 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/CreateProjectFromJira.php +16 −8 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraClient.php +29 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/AllNaturesRetriever.php +30 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureCreator.php +8 −3 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureCreatorInterface.php +31 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenter.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenterFactory.php +3 −3 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +16 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/ArtifactLinkType/ArtifactLinkTypeImporterTest.php +152 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +1 −0 Go to diff View file