List Work Items
list_work_itemsRetrieve and filter work items (issues, tasks, epics, etc.) by type and state within a GitLab group or project. Supports cursor pagination and bulk fetch.
Instructions
List work items within a namespace (group or project fullPath). Supports filtering by type (ISSUE, TASK, EPIC, INCIDENT, OBJECTIVE, KEY_RESULT) and state, plus cursor pagination and fetchAll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort enum, e.g. UPDATED_DESC (default), CREATED_DESC, TITLE_ASC | |
| after | No | Cursor for next page | |
| first | No | Page size (default 20, capped by server maxPageSize) | |
| state | No | Filter by state. "all" returns every state. | |
| types | No | Filter by work item types. Omit for all types. | |
| fetchAll | No | Auto-paginate up to first items | |
| fullPath | Yes | Namespace full path — group (e.g. "my-group") or project (e.g. "my-group/my-project") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |