Skip to content

Azure DevOps connectors

The built-in Azure DevOps connectors provide actions and event triggers for Boards, Repos, and Pipelines. The Build connector is not enabled by default and requires explicit configuration. Connector and operation availability can vary by environment and region.

  1. Open a workflow in the designer and add a trigger or action.
  2. Find the Azure DevOps connector for Boards, Repos, Pipelines, or Build, and select an operation.
  3. Select or create a connection.
  4. Provide the organization and any required project, repository, work item, or pipeline information.
  5. Review the selected operation and test with resources and data you’re authorized to use.

Some list and query actions return only part of a result. Paging inputs and outputs vary by operation:

  • Get commit diffs accepts $top and $skip; increase $skip to request subsequent results. Get pull request iteration changes also returns nextTop and nextSkip; pass them as $top and $skip until both are zero.
  • For List source provider repositories in Build, set pageResults to true and pass the response body’s continuationToken to the next request until no token remains.
  • Some actions, such as WIQL queries, expose $top as a limit without a next-page input. Others, such as List pipelines, accept continuationToken, but header-only continuation tokens aren’t exposed by this connector. These actions can’t retrieve all pages using their output alone.
AreaSupported actions
Work itemsCreate, get, and update a work item; list work item types and type states.
QueriesList and get saved queries; run a WIQL query or a saved WIQL query.
Boards and iterationsList boards, board columns, team iterations, backlog work items, and iteration work items.
Classification and teamsList classification nodes, get a classification node, and list team members.

Start a workflow when a work item is created, updated, deleted, restored, or commented on.

AreaSupported actions
Commits and itemsGet push commits, changes, and commit diffs; create and list commit statuses; and list repository item metadata.
Pull requestsCreate, get, and update a pull request; get iteration changes; share a pull request; and list linked work items.
Labels and reviewersCreate, list, and delete pull request labels; add reviewers; vote on or add a reviewer; and remove a reviewer.
Pull request statusesCreate and delete a pull request status.
DiscussionCreate, list, get, and update threads; create, list, update, and delete thread comments; and like, unlike, or list likes on a comment.
MergesCreate and get a merge operation.

List repository items returns metadata, not file contents.

Start a workflow when code is pushed, a pull request is created or updated, a pull request merge is attempted, or a pull request is commented on. The comment trigger responds to added or edited comments; a merge attempt doesn’t necessarily mean a successful merge.

AreaSupported actions
PipelinesCreate, list, get, and preview a pipeline.
RunsRun a pipeline; list and get pipeline runs.
Artifacts and logsGet metadata for a named pipeline artifact; list pipeline logs; and get a pipeline log.

Get a pipeline artifact returns metadata, not artifact file contents. Set $expand to signedContent to request a time-limited download URL in signedContent.url.

AreaEvents
RunsA run starts, completes, succeeds, or fails. Completion includes canceled runs.
StagesA stage succeeds, fails, or is rejected.
JobsA job fails.
ApprovalsA stage approval is pending or completed.

Build requires explicit enablement by your environment administrator; it isn’t registered by default.

AreaSupported actions
Build lifecycleList, queue, get, update, bulk-update, and delete builds; get the latest build; and update a build stage.
Build detailsList build changes, changes between builds, work item references, work item references from commits, and work items between builds; get build properties.
Artifacts and timelinesCreate and list build artifacts; list attachments; get a build timeline, a stage timeline, and the latest stage timeline.
Build tagsAdd one or more tags, list tags, update tags, and delete a tag.
DefinitionsCreate, list, get, update, delete, and restore build definitions; list revisions and metrics; get definition properties and YAML.
Definition resources and tagsAuthorize and list definition resources; add one or more definition tags, list tags, update tags, and delete a tag.
Definition templates and foldersList, get, save, and delete definition templates; create, list, update, and delete build folders.
Settings and retentionGet and update general build settings, build settings, and project retention settings; get retention history.
Retention leasesAdd, get, update, and delete leases; list leases for a build or by minimal retention lease.
Project resourcesList build controllers and get a controller; get resource usage; authorize and list project resources; list project metrics, build options, and project tags; delete a project tag.
Source providersList providers, branches, repositories, path contents, and webhooks; get file contents and a pull request; restore webhooks.

When a build completes starts a workflow after a build finishes.

For connection setup, permissions, and common issues, see shared connector guidance.