Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backend] - Delete WPs should accept a change request ID #1587

Closed
ninest opened this issue Oct 3, 2023 · 0 comments · Fixed by #2648
Closed

[Backend] - Delete WPs should accept a change request ID #1587

ninest opened this issue Oct 3, 2023 · 0 comments · Fixed by #2648
Assignees
Labels
back-end medium stale Hasn't been updated in a while

Comments

@ninest
Copy link
Member

ninest commented Oct 3, 2023

Make these changes on a new branch: feature/cr-delete-wp

Description

Currently, deleting WPs does not require a change request ID.

Acceptance Criteria

Deleting WPs should accept a crID and a change should be implemented.

  • Backend: the delete WP endpoint should accept a crID
  • Before the WP is deleted, the change has to be implemented for the deleted WP

Proposed Solution

  • work-packages.routes.ts: delete route should take a CR ID
  • work-packages.controllers.ts:
  • work-packages.services.ts: delete WP service: Create a change, then delete the WP
@ninest ninest added back-end medium new feature New feature or request and removed new feature New feature or request labels Oct 3, 2023
@github-actions github-actions bot added the stale Hasn't been updated in a while label Apr 12, 2024
@tigerhippo tigerhippo self-assigned this May 3, 2024
@Peyton-McKee Peyton-McKee removed the stale Hasn't been updated in a while label May 5, 2024
tigerhippo pushed a commit that referenced this issue May 9, 2024
tigerhippo pushed a commit that referenced this issue May 14, 2024
@Peyton-McKee Peyton-McKee moved this from Todo to In Progress in FinishLine Project Board May 19, 2024
@github-actions github-actions bot added the stale Hasn't been updated in a while label May 20, 2024
@tigerhippo tigerhippo mentioned this issue May 22, 2024
11 tasks
tigerhippo pushed a commit that referenced this issue May 26, 2024
Zwendle added a commit that referenced this issue May 27, 2024
@Peyton-McKee Peyton-McKee moved this from In Progress to Under Review in FinishLine Project Board Jun 1, 2024
walker-sean added a commit that referenced this issue Jun 11, 2024
@github-project-automation github-project-automation bot moved this from Under Review to Done in FinishLine Project Board Jun 11, 2024
walker-sean added a commit that referenced this issue Jun 11, 2024
…8-#feature/cr-delete-wp

Revert "#1587: Copied Changes from old branch to this branch"
tigerhippo pushed a commit that referenced this issue Jun 24, 2024
tigerhippo pushed a commit that referenced this issue Jul 2, 2024
…ction to get the crId using the identifier
tigerhippo pushed a commit that referenced this issue Jul 3, 2024
tigerhippo pushed a commit that referenced this issue Jul 31, 2024
tigerhippo pushed a commit that referenced this issue Aug 1, 2024
…n front of changeRequest to an if statement that checks if null
tigerhippo pushed a commit that referenced this issue Aug 2, 2024
tigerhippo pushed a commit that referenced this issue Aug 8, 2024
…unction and deleted code that deleted a change requests in deleteWorkPackage service function
tigerhippo pushed a commit that referenced this issue Aug 8, 2024
tigerhippo pushed a commit that referenced this issue Aug 8, 2024
tigerhippo pushed a commit that referenced this issue Aug 13, 2024
…f any of the work packages of that project were deleted already
tigerhippo pushed a commit that referenced this issue Aug 18, 2024
…and then checked for date deleted to throw DeletedException
walker-sean added a commit that referenced this issue Aug 19, 2024
…te-WPs-should-accept-crID

#1587: added everything from previous wrong branch (made off of develop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment