update_work_item
Modify Azure DevOps work items by updating fields and managing relationships between items to track project progress and dependencies.
Instructions
Updates a work item by its ID with field changes and relation management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | No | A list of relations to other work items. | |
updates | Yes | A dictionary of fields to update. | |
work_item_id | Yes | The ID of the work item to update. |
Input Schema (JSON Schema)
{
"properties": {
"relations": {
"description": "A list of relations to other work items.",
"items": {
"properties": {
"rel": {
"description": "The relation type (e.g., 'System.LinkTypes.Dependency-Forward').",
"type": "string"
},
"url": {
"description": "The URL of the related work item.",
"type": "string"
}
},
"required": [
"rel",
"url"
],
"type": "object"
},
"type": "array"
},
"updates": {
"description": "A dictionary of fields to update.",
"type": "object"
},
"work_item_id": {
"description": "The ID of the work item to update.",
"type": "integer"
}
},
"required": [
"work_item_id",
"updates"
],
"type": "object"
}