Skip to content

WorkItems: Update Rolledup dates on dates update

What does this MR do and why?

WorkItems: Update Rolledup dates on dates update

As part of the epic, we need to ensure that when a WorkItem start_date or due_date fields are update, in a WorkItem hierarchy, we update all the parent WorkItems in that hierarchy with rolledup dates to use the most broad start/due dates in its hierarchy.

This is being developed behind the feature flag: work_items_rolledup_dates

Updating the hierarchy tree when a child is created as done in WorkItems: Update Rolledup dates when new child... (!143956 - merged)

Related to: #434835 (closed)

Changelog: added EE: true

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

  • The query on the top of the video is running every 2 seconds, showing an WorkItem dates source that is already with the start/due date rolledup from a child workitem. When updating the child work item start/due date, it updates the parent workitem.

Screen_Recording_2024-02-29_at_14.41.15

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Kassio Borges

Merge request reports