List Work Items
list_work_itemsList work items in a GitLab namespace with optional filters by type, state, and pagination. Retrieve issues, tasks, epics, and more from groups or projects.
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 |
|---|---|---|---|
| fullPath | Yes | Namespace full path — group (e.g. "my-group") or project (e.g. "my-group/my-project") | |
| types | No | Filter by work item types. Omit for all types. | |
| state | No | Filter by state. "all" returns every state. | |
| first | No | Page size (default 20, capped by server maxPageSize) | |
| after | No | Cursor for next page | |
| fetchAll | No | Auto-paginate up to first items | |
| sort | No | Sort enum, e.g. UPDATED_DESC (default), CREATED_DESC, TITLE_ASC | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |