create_work_item
Creates Azure DevOps work items such as tasks, bugs, or user stories with fields for title, assignment, priority, tags, and parent relationships.
Instructions
Create a new 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": {
"workItemType": "<workItemType>",
"title": "<title>"
},
"name": "create_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to add to the work item | |
| title | Yes | The title of the work item | |
| areaPath | No | The area path for the work item | |
| parentId | No | The ID of the parent work item to create a relationship with | |
| priority | No | The priority of the work item | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| assignedTo | No | The email or name of the user to assign the work item to | |
| description | No | Work item description. Defaults to HTML format; set descriptionFormat to "markdown" to store and render as Markdown. Other multi-line text fields (i.e., System.History, AcceptanceCriteria, etc.) use HTML format by default. Do not use CDATA tags. | |
| workItemType | Yes | The type of work item to create (e.g., "Task", "Bug", "User Story") | |
| iterationPath | No | The iteration path for the work item | |
| organizationId | No | The ID or name of the organization (Default: mycompany) | |
| additionalFields | No | Additional Azure DevOps fields to set 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: "html" (default) or "markdown". Setting "markdown" instructs Azure DevOps to store and render System.Description as Markdown (cannot be reverted back to HTML once saved). |