Get Work Item
get_work_itemFetch any GitLab work item by global ID and retrieve its raw widgets array to expose epic hierarchy, health status, iteration, milestone, and dates.
Instructions
Fetch a GitLab work item (issue, task, epic, incident, OKR) by global ID. Returns the raw widgets array so epic hierarchy, health status, iteration, milestone, and dates are all visible. Accepts either a numeric id or a full gid (gid://gitlab/WorkItem/123).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item ID — numeric (e.g. "123") or full gid (e.g. "gid://gitlab/WorkItem/123") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |