Update epic tree count on add and remove epic
What does this MR do and why?
Fixes updating children and weight counts at the top of the epic tree when adding an existing epic and removing one. Previously, a page refresh was necessary to see accurate numbers.
Screenshots or screen recordings
Before | After |
---|---|
Update_epic_count_-_Before | Update_epic_count_-_After |
How to set up and validate locally
- Create an epic with at least on issue with a weight assigned as a child
- Open another epic
- Add the previous epic in
Child issues and epics
tree - Remove it
- Children and weight counts should update
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #335311 (closed)