update_work_item
Modify an existing Azure DevOps work item by setting fields such as title, state, assignee, priority, tags, area or iteration path, and description.
Instructions
Update an existing work item
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workItemId": "<workItemId>"
},
"name": "update_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Overwrite/set the complete set of tags | |
| state | No | The updated state of the work item | |
| title | No | The updated title of the work item | |
| areaPath | No | The updated area path for the work item | |
| priority | No | The updated priority of the work item | |
| tagsToAdd | No | List of tags to append to the work item | |
| assignedTo | No | The email or name of the user to assign the work item to | |
| workItemId | Yes | The ID of the work item to update | |
| description | No | Updated work item description. When descriptionFormat is omitted or "html", the field preserves its existing format (HTML or Markdown); set descriptionFormat to "markdown" to store or switch System.Description to Markdown. Other multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) use HTML format by default. Do not use CDATA tags. | |
| tagsToRemove | No | List of tags to remove from the work item | |
| iterationPath | No | The updated iteration path for the work item | |
| additionalFields | No | Additional Azure DevOps fields to update by reference name (fields not exposed as named parameters). Example for Bug severity: { "Microsoft.VSTS.Common.Severity": "1 - Critical" } (accepted values: "1 - Critical", "2 - High", "3 - Medium", "4 - Low"). Multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) must use HTML format. Do not use CDATA tags. | |
| descriptionFormat | No | Format for the description field: omit or pass "html" to preserve the field's existing format (cannot revert a Markdown field back to HTML), or pass "markdown" to store/switch System.Description as Markdown (irreversible once saved). |