link_work_items
Attach one or more work items (issues or epics) as children of a parent epic. Idempotent and uses dry-run mode by default for preview.
Instructions
Attach one or more work items (issues or epics) as children of a parent work item (epic). Uses the Work Items hierarchy widget — the canonical GitLab 17+ replacement for add_issue_to_epic. Idempotent: existing children of the parent are preserved. Resolve GIDs via get_work_item_id. dry_run=true by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_work_item_id | Yes | Parent WorkItem GID (resolve via get_work_item_id with item_type=epic) | |
| child_work_item_ids | Yes | WorkItem GIDs of children to attach (Issue or Epic) | |
| dry_run | No | Dry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation. |