Skip to content

[$50] Remove validation for keeping milestone dates in bound to the timeline dates #148

Closed
@vikasrohit

Description

@vikasrohit

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:

  1. Remove validation for bounding the milestone's dates within timelines' dates
  2. 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.
  3. Stop accepting startDate and endDate in this method essentially deprecating the updates to the milestone's startDate and endDate.
  4. Update unit tests to validate the changes.
  5. Update the swagger and postman docs

fyi @RishiRajSahu @gondzo

@coderReview Adding it to the bug bash.

Metadata

Metadata

Assignees

Labels

acceptedbug-bashTo collect all tasks for a bug bash

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions