Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal 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.
IDNumberYesWork item id.

Outputs​

OutputTypeWhat it is
work_itemDictionaryid, rev, type, title, state, reason, assigned_to, area_path, iteration_path, tags, priority, description, created_by, created_date, changed_date, url, fields (all fields).
stateStringCurrent state, e.g. Active.