manage_work_items
Manage Azure DevOps work items including tasks, bugs, and user stories. Perform actions like create, update, delete, link items, add comments, and track changes.
Instructions
Manage Azure DevOps work items (tasks, bugs, user stories, epics). Actions: 'get', 'batch_get', 'list_types', 'get_links', 'get_history', 'list_comments', 'my_items', 'iteration_items', 'create', 'update', 'delete', 'add_comment', 'batch_update', 'add_children', 'link', 'unlink', 'add_artifact_link', 'update_comment'
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'get', 'create', 'update', 'delete', 'add_comment', 'list_comments', 'get_links', 'list_types', 'get_history', 'batch_get', 'batch_update', 'add_children', 'link', 'unlink', 'add_artifact_link', 'my_items', 'iteration_items', 'update_comment' | |
| project_key | No | Project name (required for most actions) | |
| work_item_id | No | Work item ID (required for get, update, delete, add_comment, list_comments, get_links, get_history) | |
| work_item_ids | No | Work item IDs (for batch_get, max 200) | |
| work_item_type | No | Work item type: Task, Bug, User Story, Epic, Feature, Issue (required for create) | |
| title | No | Work item title (required for create) | |
| description | No | Work item description in HTML (for create, update) | |
| state | No | Work item state: New, Active, Closed, etc. (for update) | |
| assigned_to | No | Assignee display name or email (for create, update) | |
| area_path | No | Area path e.g. Project\Team (for create, update) | |
| iteration_path | No | Iteration path e.g. Project\Sprint 1 (for create, update) | |
| priority | No | Priority: 1=Critical, 2=High, 3=Medium, 4=Low (for create, update) | |
| parent_id | No | Parent work item ID to link (for create, add_children) | |
| tags | No | Semicolon-separated tags (for create, update) | |
| comment | No | Comment text in HTML (for add_comment, update_comment, add_artifact_link) | |
| comment_id | No | Comment ID (required for update_comment) | |
| query | No | WIQL query string (for 'list' action via WIQL) | |
| fields | No | Fields to return (for batch_get). Default: System.Title, System.State, System.AssignedTo | |
| top | No | Max results to return (for WIQL queries) | |
| target_id | No | Target work item ID (required for link) | |
| link_type | No | Link type name (for link, add_artifact_link), e.g. System.LinkTypes.Related, System.LinkTypes.Hierarchy-Forward | |
| relation_index | No | Relation index to remove (required for unlink) | |
| artifact_uri | No | Artifact URI for artifact links (required for add_artifact_link), e.g. vstfs:///Git/Commit/{projectId}%2F{repoId}%2F{commitId} | |
| titles | No | List of titles for child work items (required for add_children) | |
| team | No | Team name (optional, scopes iteration_items to a specific team) | |
| iteration_id | No | Iteration ID (required for iteration_items) | |
| include_completed | No | Include completed/closed work items (for my_items, default false) |