stable

Clone or download

Read-only

Map users in userpicker fields

part of: story #15066 Map Jira users with Tuleap user /!\ PLEASE READ BEFORE TESTING The current behavior of the mapping is as following: When the user is found on Tuleap -> It is bound to the selectbox When not found, no changelog or value can be imported because the importer does not allow Tracker_Importer user to be bound to a selectbox field. Since it is not a real user, it is not shocking to not have a value in this case. How to test: - Import a Jira tracker containing issues on which your are assignee or reporter - Once imported, open the different artifacts --> You are assigned to artifacts were you are supposed to be assigned --> You are reporter of issues you have reported --> Assignations history is imported Change-Id: I06fa8c0d284c43b37e523233ad88d5283a8dbc46

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/FromJiraTrackerCreator.php +11 −17 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporter.php +16 −8 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/CreationStateListValueFormatter.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraAuthorRetriever.php +30 −7 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraUserInfoQuerier.php +75 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraUserOnTuleapCache.php +13 −3 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php +23 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/CurrentSnapshotBuilder.php +54 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php +33 −11 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilder.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +23 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/FieldMapping.php +12 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/FieldXmlExporter.php +13 −4 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php +54 −14 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraConnectionException.php +14 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/FromJiraTrackerCreatorTest.php +8 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporterTest.php +16 −8 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +23 −11 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/CreationStateListValueFormatterTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +71 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/JiraAuthorRetrieverTest.php +10 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilderTest.php +57 −11 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/CurrentSnapshotBuilderTest.php +35 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php +74 −14 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +14 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Permissions/PermissionsXMLExporterTest.php +6 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportAllIssuesExporterTest.php +10 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportCreatedRecentlyExporterTest.php +12 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportDefaultCriteriaExporterTest.php +4 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportDoneIssuesExporterTest.php +10 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportOpenIssuesExporterTest.php +10 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportTableExporterTest.php +4 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Reports/XmlReportUpdatedRecentlyExporterTest.php +12 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Semantic/SemanticsXMLExporterTest.php +6 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/FieldXmlExporterTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php +22 −11 Go to diff View file