Skip to content

Feat/193/delete a sprint#194

Merged
Kimoo193 merged 2 commits into
mainfrom
feat/193/delete-a-sprint
Apr 19, 2025
Merged

Feat/193/delete a sprint#194
Kimoo193 merged 2 commits into
mainfrom
feat/193/delete-a-sprint

Conversation

@Kimoo193
Copy link
Copy Markdown
Contributor

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?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

Related Issue

Closes #193

@Kimoo193 Kimoo193 added the feature For new feature label Apr 19, 2025
@Kimoo193 Kimoo193 self-assigned this Apr 19, 2025
@Kimoo193 Kimoo193 linked an issue Apr 19, 2025 that may be closed by this pull request
@Kimoo193
Copy link
Copy Markdown
Contributor Author

This pull request introduces a new feature for handling sprint deletion in the project management system. It includes the addition of a deleteSprint controller method for soft-deleting sprints and updates to the routing to support the new functionality.

New sprint deletion functionality:

  • Added deleteSprint controller method: Implements a soft delete for sprints, including validation of parameters, permission checks, prevention of deletion for active sprints with unfinished tasks, and audit logging. The deletion process uses a transaction to ensure data consistency. (src/controllers/sprint.controller.js, src/controllers/sprint.controller.jsR957-R1096)

Routing updates:

  • Added DELETE route for sprint deletion: Configured a new route to handle DELETE requests for sprints, integrating the deleteSprint controller and verifyAccessToken middleware. (src/routes/sprint.routes.js, src/routes/sprint.routes.jsR43-R47)

@Kimoo193 Kimoo193 merged commit 13d4e78 into main Apr 19, 2025
8 checks passed
@Kimoo193 Kimoo193 deleted the feat/193/delete-a-sprint branch April 19, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature For new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete a sprint

1 participant