Closed
Description
As per discussion here we need to remove the validations in PATCH /v4/timelines/123/milestones/1234
. Instead it needs to update the timeline's bounds accordingly.
Requirements:
- Remove validation for bounding the milestone's dates within timelines' dates
- Update timeline's dates as per change in milestone i.e. if change in milestone dates requires the timeline's end dates to be extended, extend it or if it requires it to be contracted, contract it.
- Stop accepting
startDate
andendDate
in this method essentially deprecating the updates to the milestone'sstartDate
andendDate
. - Update unit tests to validate the changes.
- Update the swagger and postman docs
fyi @RishiRajSahu @gondzo
@coderReview Adding it to the bug bash.