-
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
|
Problem
The current
PUT /api/pullrequests/{id}endpoint expects a fullPullRequestobject. This causes:nullvalues overwriting non-nullable fields likestatussource,author)Goal
Introduce a
PATCH /api/pullrequests/{id}endpoint that:PullRequestUpdateDto) with only mutable fieldsid,author,source,target,issue, etc.PullRequestobjectExample Request
Acceptance Criteria
PullRequestUpdateDtowith fields:String titleString descriptionPullRequestStatus statusauthor,source) remain unchangedNotes
This improvement avoids bloated update logic in tests and UI flows, and brings the API closer to best practices for partial updates.