Skip to content

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

  1. Create an epic with at least on issue with a weight assigned as a child
  2. Open another epic
  3. Add the previous epic in Child issues and epics tree
  4. Remove it
  5. 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.

Related to #335311 (closed)

Merge request reports