Get work item
Read a work item by id.
Command in the Azure DevOps toolkit · id ooa.azure_devops/get_work_item · 3 inputs (3 required), 2 outputs
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. |
Outputs
| Output | Type | What it is |
|---|---|---|
| work_item | Dictionary | id, rev, type, title, state, reason, assigned_to, area_path, iteration_path, tags, priority, description, created_by, created_date, changed_date, url, fields (all fields). |
| state | String | Current state, e.g. Active. |