Sync updates to parent_links from epic_issues
What does this MR do and why?
Related issue: #470032 (closed)
Sync updates to parent_links from epic_issues
This syncs changes through the EpicIssues::UpdateService to the synced parent links.
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.
Screen_Recording_2024-07-03_at_22.47.45
How to set up and validate locally
- Create an epic with issues
- Get an access token
- Get the IDs of the
EpicIssue
records - Execute the following curl command with the correct variables:
curl -X PUT --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "http://gdk.test:3000/api/v4/groups/$GROUP_NAME/-/epics/$EPIC_IID/issues/$EPIC_ISSUE_1_ID?move_before_id=$EPIC_ISSUE_2_ID"
-
Enable epic work items:
Feature.enable(:namespace_level_work_items)
-
Check the correlating work item by replacing
/epics/
in the URL with/work_items
if it also re-ordered the child items there
Edited by Nicolas Dular