stable

Clone or download

Read-only

feat(jira): Import snapshot of Components field

This closes request #31122 Jira Components field must be imported as a multi selectbox field Jira standard Components field must be handled by our Jira import tool. To match the behavior of this Jira field in Tuleap, we decided to import it as a multi selectbox list field at Tuleap side. Given how its history is handled by Jira REST API, we only export current snapshot of the field for the issue. The old behavior (using dedicated artifacts with links to import components) is removed. How to test ----------- * Do a Jira import (either whole project or a tracker import) with some issues that have values in compenents field => These components values must be well imported (without history). Change-Id: I3b83c29ccd0cf2993f9556135fc169a881545c06

Modified Files

Name
D plugins/jira_import/include/Project/Components/ComponentAPIResponseNotWellFormedException.php +0 −28 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentIssuesRetriever.php +0 −32 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentIssuesRetrieverFromAPI.php +0 −66 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentLinkedIssueAPIResponseNotWellFormedException.php +0 −28 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentsImporter.php +0 −117 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentsRetriever.php +0 −32 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentsRetrieverFromAPI.php +0 −61 Go to diff View file
D plugins/jira_import/include/Project/Components/ComponentsTrackerBuilder.php +0 −124 Go to diff View file
D plugins/jira_import/include/Project/Components/JiraComponent.php +0 −70 Go to diff View file
D plugins/jira_import/include/Project/Components/JiraComponentLinkedIssue.php +0 −54 Go to diff View file
M plugins/jira_import/include/Project/CreateProjectFromJira.php +0 −24 Go to diff View file
D plugins/jira_import/tests/unit/Project/Components/ComponentsImporterTest.php +0 −238 Go to diff View file
D plugins/jira_import/tests/unit/Project/Components/ComponentsTrackerBuilderTest.php +0 −85 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilderTest.php +20 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php +47 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +29 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/tracker.xml +14 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IXMC/tracker.xml +16 −0 Go to diff View file