stable

Clone or download

Read-only

feat(jira): Distinguish JiraCloud and JiraServer users

At the moment this change cannot really be tested with Jira Server as other changes are needed. I broken down my giga patch to make it easier to review. I kept JiraCloudUser typehinting in places where the code is, in fine, working only with JiraCloud payloads (eg. Timesheeting, Comment, etc) those parts will have to evolve to take into account the differences between JiraServer and JiraCloud so it makes little sense to make them generic (JiraUser) at the moment. Part of: request #22580 Creation of new tracker from Jira doesn't work with Jira Server Change-Id: I530b40dc5444322e0af41d16af8f5bc3520be3da

Modified Files

Name
M plugins/timetracking/include/Timetracking/JiraImporter/JiraXMLExport.php +2 −2 Go to diff View file
M plugins/timetracking/include/Timetracking/JiraImporter/Worklog/Worklog.php +6 −6 Go to diff View file
M plugins/timetracking/tests/unit/JiraImporter/JiraXMLExportTest.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentation.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Comment/Comment.php +6 −6 Go to diff View file
R plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/ActiveJiraUser.php Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/ActiveJiraServerUser.php +57 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/AnonymousJiraUser.php +2 −2 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraCloudUser.php +36 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUser.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUserInfoQuerier.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUserOnTuleapCache.php +11 −23 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/User/JiraUserRetriever.php +24 −7 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraCollectionBuilder.php +10 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Comment/CommentXMLValueEnhancerTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +3 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/User/JiraTuleapUsersMappingTest.php +3 −3 Go to diff View file