WorkItems: Fix rolledup dates when removing child
What does this MR do and why?
WorkItems: Fix rolledup dates when removing child
Changelog: added
This is behind work_items_rolledup_dates
feature flag
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable
work_items_rolledup_dates
feature flag - Navigate to a group work_items list and create a Epic http://gdk.test:3000/groups//-/work_items/
- Add a child to the new Epic (On the children table, click in add new Issue, and create a new child)
- Edit the child dates (click on the child title and edit the start and due dates)
- Change the epic to use inherited dates, if this option is already selected reload the page, you must see the child dates "rolled up" to the epic
- Remove the child
- Reload the page
- The epic dates must be empty
Edited by Kassio Borges