Skip to content

Sync updates to parent_links from epic_issues

Nicolas Dular requested to merge nd/sync-epic-issue-update into master

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

  1. Create an epic with issues
  2. Get an access token
  3. Get the IDs of the EpicIssue records
  4. 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"
  1. Enable epic work items:

    Feature.enable(:namespace_level_work_items)
  2. 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

Merge request reports

Loading