diff --git a/src/Controller/SprintReportController.php b/src/Controller/SprintReportController.php index 68b0db5d..becfa8de 100644 --- a/src/Controller/SprintReportController.php +++ b/src/Controller/SprintReportController.php @@ -38,7 +38,7 @@ public function index(Request $request): Response 'csrf_protection' => false, ]); - $projectCollection = $this->projectTracker->getAllProjectsV2(); + $projectCollection = $this->projectTracker->getSprintReportProjects(); $projectChoices = []; @@ -66,8 +66,8 @@ public function index(Request $request): Response } if (!empty($requestData['projectId'])) { - $project = $this->projectTracker->getProjectV2($requestData['projectId']); - $versionCollection = $this->projectTracker->getProjectVersions($requestData['projectId']); + $project = $this->projectTracker->getSprintReportProject($requestData['projectId']); + $versionCollection = $this->projectTracker->getSprintReportProjectVersions($requestData['projectId']); $versionChoices = []; foreach ($versionCollection->versions as $version) {