-
In Progress
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Version |
1.0
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Version |
1.0
|
| Sprints |
n/a
|
| Customer |
n/a
|
Summary
Currently, the
ReviewControllersupports onlyPOSTfor adding a review to a pull request and optionally aGETfor listing reviews. There is no support for editing or deleting a review once created. This defect tracks the implementation of full CRUD functionality for reviews, particularlyPUTandDELETEoperations.Background
Reviews are subordinate entities tied to Pull Requests (PRs). The existing endpoint pattern (
/api/pullrequests/{prId}/reviews) conveys this subordination clearly and helps keep the API semantically organized. However, to fully support user workflows such as fixing a typo, updating comments, or removing reviews, the API must support:PUT /api/pullrequests/{prId}/reviews/{reviewId}DELETE /api/pullrequests/{prId}/reviews/{reviewId}Tasks
ReviewServiceinterface.ReviewServiceImplwith update/delete logic.ReviewController:PUTendpoint to modify review contentDELETEendpoint to remove reviewOut of Scope
Estimated Effort
6–8 hours, depending on complexity of validation and reuse of user security context
Comments
We deliberately scoped this out of the current regression push to keep the test surface small. Once base coverage is validated, we can come back to this enhancement.