list_work_items
List work items in an Azure DevOps project. Supports filtering via WIQL or saved queries, pagination, and custom field selection.
Instructions
List work items in a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of work items to return | |
| skip | No | Number of work items to skip | |
| wiql | No | Work Item Query Language (WIQL) query | |
| fields | No | List of additional fields to include in the response beyond the defaults (System.Id, System.Title, System.State, System.AssignedTo). Use full field reference names, e.g. "Microsoft.VSTS.Scheduling.StoryPoints", "System.IterationPath", "System.AreaPath". | |
| teamId | No | The ID of the team | |
| queryId | No | ID of a saved work item query | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |