list_work_items
Retrieve work items in an Azure DevOps project using project ID, query ID, or WIQL. Supports filtering, pagination, and team-specific results for efficient project management.
Instructions
List work items in a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
projectId | Yes | The ID or name of the project | |
queryId | No | ID of a saved work item query | |
skip | No | Number of work items to skip | |
teamId | No | The ID of the team | |
top | No | Maximum number of work items to return | |
wiql | No | Work Item Query Language (WIQL) query |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"projectId": {
"description": "The ID or name of the project",
"type": "string"
},
"queryId": {
"description": "ID of a saved work item query",
"type": "string"
},
"skip": {
"description": "Number of work items to skip",
"type": "number"
},
"teamId": {
"description": "The ID of the team",
"type": "string"
},
"top": {
"description": "Maximum number of work items to return",
"type": "number"
},
"wiql": {
"description": "Work Item Query Language (WIQL) query",
"type": "string"
}
},
"required": [
"projectId"
],
"type": "object"
}