Update work item
Change fields of a work item, such as its state or assignee. Only the inputs you fill in are changed.
Command in the Azure DevOps toolkit · id ooa.azure_devops/update_work_item · 11 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | Yes | Organization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server. | |
| Personal access token | Credential | Yes | Personal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| ID | Number | Yes | Work item id. | |
| Title | String | No | New title. | |
| State | String | No | New state, e.g. Active, Resolved, Closed. | |
| Assigned to | String | No | New assignee by email or display name. | |
| Description | String | No | New description. | |
| Iteration path | String | No | New iteration (sprint) path. | |
| Tags | String | No | Replace tags; separate with semicolons. | |
| Fields | Dictionary | No | More fields by reference name, e.g. {"Microsoft.VSTS.Scheduling.RemainingWork": 2}. | |
| Steps | List | No | Test cases only: replace the steps, in order: text, or {"action": ..., "expected": ...}. |
Outputs
| Output | Type | What it is |
|---|---|---|
| rev | Number | New revision number. |