get_work_item_id
Retrieve the global ID of a GitLab epic or issue to use as parent or child when linking work items. Required for link_work_items and unlink_work_items operations.
Instructions
Resolve the WorkItem global ID (gid://gitlab/WorkItem/N) for an epic or issue. Required as parent_work_item_id / child_work_item_ids on link_work_items and unlink_work_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_type | Yes | Work item type | |
| group_id | No | Group ID (required if item_type is epic) | |
| project_id | No | Project ID (required if item_type is issue) | |
| iid | Yes | IID of the epic or issue |