Validate work item to epic creation and update
We need to schedule the ValidateEpicWorkItemSyncWorker
every time an epic work item gets created or modified.
Luckily, we already have the WorkItems::WorkItemCreatedEvent
and WorkItems::WorkItemUpdatedEvent
event and also emit these events on creation and update. As a first step:
- Call
::WorkItems::ValidateEpicWorkItemSyncWorker
in ourevent_store
when an epic work item got created or updated - Find out in which other places we need to schedule these events. For example, after adding a linked work item, or changing the hierarchy.
Edited by Nicolas Dular