Skip to content

Remove synced_work_item param

Nicolas Dular requested to merge nd/cleanup-synced-work-item-param into master

What does this MR do and why?

Remove synced_work_item param

Removes the synced_work_item param from WorkItems::UpdateService and WorkItems::CreateService. This param was necessary when we created the work item from the epic services through the Create/Update service of the work item. With the param we for example skipped creation of notes on the Work Item side.

We now directly use ActiveRecord to create a work item in the Epic service and therefore no longer need to skip anything in the WorkItem services. Note: this is only true for the creation/update services. For all other services we still call the other service and we need to keep using the parameter.

Issue: #458912 (closed)

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.

Edited by Nicolas Dular

Merge request reports