Skip to main content

Get Work Item Update

GetWorkItemUpdate retrieves one revision of a work item — what changed on that update and who made it.

It calls GET https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{id}/updates/{updateNumber}, where {id} and {updateNumber} come from the Id and Update Number fields.

The activity has four tabs: Configuration, Auth, Input, and Output.

Configuration

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
Api VersionRequiredEnter the version of the API you want to use.
OrganizationOptionalEnter the name of the organization.
ProjectOptionalEnter the name of the project.
IdOptionalEnter the ID of the resource.
Update NumberOptionalEnter the update number for the resource.

Auth

FieldRequiredDescription
Auth TypeOptionalSelect the authentication method for the request. Options: No Auth, Basic, API Key, OAuth 2.
User NameOptionalUsername for Basic Authentication.
PasswordOptionalPassword for Basic Authentication.

Input

This activity is built on the REST Client, so the Input tab is the generic HTTP request rather than an Azure Boards-shaped payload.

FieldRequiredData TypeDescription
TargetRequiredObjectThe HTTP request.

Output

The activity returns an httpResponse object.

FieldData TypeDescription
status.codeIntegerNumeric HTTP status code.
status.messageStringShort message associated with the HTTP status.
headersObjectHTTP response headers.
bodyObjectParsed body of the response — the work item update.

The response body carries the update:

FieldData TypeDescription
idIntegerID of update.
workItemIdIntegerThe work item ID.
revIntegerThe revision number of work item update.
fieldsObjectList of updates to fields.
relationsObjectDescribes updates to a work item's relations.
revisedByObjectDescribes a reference to an identity.
revisedDateStringThe work item updates revision date.