Feat/170/get all sprints#178
Conversation
|
This pull request introduces a new feature to retrieve all sprints for a specific project, including the necessary backend implementation and route configuration. The changes ensure proper validation, pagination, and access control. New Feature: Retrieve All Sprints for a Project
|
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new endpoint to retrieve all sprints for a given project while addressing an existing bug and adding new functionality for sprint pagination and filtering.
- Added a new GET route in sprint.routes.js for fetching sprints.
- Implemented the getAllSprints controller with parameter validation, pagination, and access checks.
Reviewed Changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/routes/sprint.routes.js | Added new GET route to fetch all sprints with access token check. |
| src/controllers/sprint.controller.js | Implemented getAllSprints with parameter validation, pagination, and error handling. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PR Checklist (required)
Please check if your PR fulfills the following requirements:
The commit message follows our guidelines.
Tests for the changes have been added (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
Related Issue
Closes #170