Skip to main content

Get Work Item Updates

GetWorkItemUpdates retrieves the revision history of a work item.

It calls GET https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{id}/updates, where {id} is the value of the Id field.

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 VersionRequiredSpecify the version of the API to use.
OrganizationOptionalEnter the name of the organization.
ProjectOptionalEnter the name of the project.
IdOptionalEnter the ID of the resource.
$ TopOptionalEnter the maximum number of items to return from the query.
$ SkipOptionalEnter the number of items to skip in the query results.

$ Top and $ Skip are query parameters, and together they page through the history.

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 list of updates.
note

The output schema for this activity declares the response body without describing its properties, so the fields inside body are not listed here. Individual updates carry the shape shown on Get Work Item Update.