stable

Clone or download

Read-only

request #22580 Get list of jira projects doesnt work with Jira Server

The while both APIs seems to be available on Jira Cloud, the design selected was to clearly separate the 2 ways to get the information The main concern is that Jira Server API is considered as deprecated: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-projects/#api-rest-api-2-project-get Hence, while this should not be an issue with import coming from Jira Server itself it might no longer be supported in the future for people wanted to ditch Jira Cloud. In order to test with a Jira Cloud instance you must force your platform to use Jira Server APIs with: tuleap config-set tracker_force_jira_server 1 Change-Id: I595bf5b238b2cbc8b1239475c43b7b0b1f372c4c

Modified Files

Name
M plugins/jira_import/tests/unit/JiraAgile/Board/Backlog/JiraBoardBacklogRetrieverFromAPITest.php +5 −6 Go to diff View file
M plugins/jira_import/tests/unit/JiraAgile/JiraBoardsRetrieverFromAPITest.php +5 −6 Go to diff View file
M plugins/jira_import/tests/unit/JiraAgile/JiraEpicIssuesRetrieverFromAPITest.php +2 −3 Go to diff View file
M plugins/jira_import/tests/unit/JiraAgile/JiraEpicRetrieverFromAPITest.php +2 −3 Go to diff View file
M plugins/jira_import/tests/unit/JiraAgile/JiraSprintIssuesRetrieverFromAPITest.php +6 −7 Go to diff View file
M plugins/jira_import/tests/unit/JiraAgile/JiraSprintRetrieverFromAPITest.php +4 −5 Go to diff View file
M plugins/jira_import/tests/unit/Project/ArtifactLinkType/ArtifactLinkTypeImporterTest.php +3 −4 Go to diff View file
M plugins/timetracking/tests/unit/JiraImporter/Worklog/WorklogRetrieverTest.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php +35 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraClient.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraConnectionException.php +17 −15 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectBuilder.php +41 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectCollection.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectListController.php +2 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Semantic/SemanticsXMLExporterTest.php +1 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraProjectBuilderTest.php +59 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Stub/JiraCloudClientStub.php +34 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Stub/JiraServerClientStub.php +34 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/UserRole/UserRolesCheckerTest.php +5 −6 Go to diff View file