stable

Clone or download

Read-only

Introduce Jira Boards management

Board are the base of Agile management in Jira API. We need them to be able to get the sprints. At this stage it's not clear whether, within a given project, 2 different boards can have a different list of Sprints (I didn't find a way to do that). Hence, the current implementation takes the shortest path: get the first scrum board of a given project so we can get the sprints. The Client Wrapper was changed to no longer carry the Jira Core rest base URL as the client should be used to query `/agile/` end points too. Part of story #19242 create Jira project with Agile configuration Change-Id: I460216cb82531b8172bfaa2fa892f7d47ae1978d

Modified Files

Name
A plugins/jira_import/include/JiraAgile/JiraBoard.php +55 −0 Go to diff View file
A plugins/jira_import/include/JiraAgile/JiraBoardsRetriever.php +27 −0 Go to diff View file
A plugins/jira_import/include/JiraAgile/JiraBoardsRetrieverFromAPI.php +102 −0 Go to diff View file
A plugins/jira_import/include/JiraAgile/JiraProjectBoardRetriever.php +42 −0 Go to diff View file
M plugins/jira_import/include/Project/ArtifactLinkType/ArtifactLinkTypeImporter.php +2 −1 Go to diff View file
M plugins/jira_import/include/Project/CreateProjectFromJira.php +12 −0 Go to diff View file
A plugins/jira_import/tests/unit/JiraAgile/JiraBoardsRetrieverFromAPITest.php +230 −0 Go to diff View file
A plugins/jira_import/tests/unit/JiraAgile/JiraProjectBoardRetrieverTest.php +61 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/ClientWrapper.php +7 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporter.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntriesBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Comment/CommentValuesBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/JiraUserInfoQuerier.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraFieldRetriever.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollection.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraClient.php +3 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraConnectionException.php +6 −4 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraProjectBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/JiraTrackerBuilder.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/ClientWrapperTest.php +4 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/AlwaysThereFieldsExporterTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +9 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Values/StatusValuesCollectionTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraProjectBuilderTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraTrackerBuilderTest.php +2 −2 Go to diff View file