Skip to main content

Azure Boards Activities

Use the Azure Boards group to manage work items, comments and attachments in an Azure DevOps project from a workflow.

Every activity in this group is built on the REST Client and calls https://dev.azure.com. The endpoint, method and query parameters are prefilled; you supply the organization, project and the identifiers for the resource you are acting on.

Available activities​

Work items​

ActivityPurpose
CreateWorkItemCreates a work item of a given type
GetWorkItemRetrieves a single work item by ID
GetWorkItemTemplateRetrieves the template for a work item type
UpdateWorkItemUpdates a work item
DeleteWorkItemDeletes a work item
QueryByWiqlRuns a WIQL query and returns matching work items

Work item history​

ActivityPurpose
GetWorkItemUpdateRetrieves one revision of a work item
GetWorkItemUpdatesRetrieves the revision history of a work item

Comments​

ActivityPurpose
AddCommentToWorkItemAdds a comment to a work item
GetWorkItemCommentRetrieves a single comment
GetWorkItemCommentsRetrieves a batch of comments
UpdateCommentUpdates a comment
DeleteCommentDeletes a comment

Attachments​

ActivityPurpose
CreateAttachmentUploads an attachment
UploadAttachmentChunkUploads one chunk of a large attachment
GetAttachmentRetrieves an attachment
DeleteAttachmentDeletes an attachment

Common configuration​

Every activity in this group shares three required fields:

FieldDescription
API VersionThe version of the Azure DevOps API to use. Required on every activity.
OrganizationThe name of the Azure DevOps organization.
ProjectThe name of the project.

api-version is a required query parameter on every endpoint in this group and ships with no default value, so API Version must be set for the request to succeed.

Authentication​

Most activities offer four Auth Type options — No Auth, Basic, API Key and OAuth 2 — with User Name and Password for Basic authentication. CreateWorkItem also offers an Auth Resource, an OAuth resource containing credentials.