Skip to main content

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​

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.
TitleStringNoNew title.
StateStringNoNew state, e.g. Active, Resolved, Closed.
Assigned toStringNoNew assignee by email or display name.
DescriptionStringNoNew description.
Iteration pathStringNoNew iteration (sprint) path.
TagsStringNoReplace tags; separate with semicolons.
FieldsDictionaryNoMore fields by reference name, e.g. {"Microsoft.VSTS.Scheduling.RemainingWork": 2}.
StepsListNoTest cases only: replace the steps, in order: text, or {"action": ..., "expected": ...}.

Outputs​

OutputTypeWhat it is
revNumberNew revision number.