wit_list_work_item_comments
Fetch comments for a specific work item by ID from Azure DevOps projects. Specify project and work item details to retrieve up to a defined number of comments.
Instructions
Retrieve list of comments for a work item by ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project | Yes | The name or ID of the Azure DevOps project. | |
top | No | Optional number of comments to retrieve. Defaults to all comments. | |
workItemId | Yes | The ID of the work item to retrieve comments for. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"project": {
"description": "The name or ID of the Azure DevOps project.",
"type": "string"
},
"top": {
"default": 50,
"description": "Optional number of comments to retrieve. Defaults to all comments.",
"type": "number"
},
"workItemId": {
"description": "The ID of the work item to retrieve comments for.",
"type": "number"
}
},
"required": [
"project",
"workItemId"
],
"type": "object"
}