Azure DevOps
DevOps integration · 33 node(s).
00Overview
Wire Azure DevOps into a flow to queue pipeline runs, watch builds and pull their logs, and hand pipeline artifacts on to the rest of your automation. Manage the backlog end to end — create, update, query and comment on work items — and drive code review by opening, updating, completing and commenting on pull requests. List projects, repositories, branches, commits and teams to feed any of the above.
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting Azure DevOps
- In Azure DevOps, open User settings (the avatar, top-right) → Personal access tokens (dev.azure.com → User settings → Personal access tokens) and choose New Token.
- Scope the token to what you plan to automate — Work Items (Read & write), Build (Read & execute), Code (Read & write), Project and Team (Read) and, only if you use classic releases, Release (Read, write & execute) — set an expiry, then Create. Copy the token straight away: Azure DevOps shows it once.
- Note your Organisation URL — the modern
https://dev.azure.com/your-orgor the legacyhttps://your-org.visualstudio.com; both are accepted. Paste it into the node's Organisation URL field. - Leave API Version blank — it defaults to
7.1— unless Microsoft asks you to pin a specific version. - In Flomation, store the token as an environment secret (e.g.
azuredevops_secret) and select it in the node's Personal Access Token field.
| Field | Type | Details | |
|---|---|---|---|
| Personal Access Token | secret | Required | User settings ▸ Personal access tokens — the token value, shown once at creation |
${secrets.your_secret}.02Branch
Azure DevOps: List Branches
devops/azuredevops/branch_get_all · Action
List a repository's branches, with each one's latest commit. Filter narrows by name prefix — "release/" returns only the release branches.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Name Starts With | string | release/ — leave blank for every branch | |
| Include Tags | boolean | also return tags, not just branches | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
03Build
Azure DevOps: Cancel Build
devops/azuredevops/build_cancel · Action
Cancel an in-flight build. Cancellation is a request, not an instruction: the build moves to "cancelling" and finishes tearing down, so its final result arrives shortly afterwards. This is a Build API action because the Pipelines API has no cancel verb at all.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Build | integer | Required | the build ID to cancel |
Returns: id, result, build_status, tool_result, success, error
Azure DevOps: Get Build
devops/azuredevops/build_get · Action
Get one build by ID, including its status, result, requester and source branch.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Build | integer | Required | the build ID |
Returns: id, result, build_status, build_result, tool_result, success, error
Azure DevOps: List Builds
devops/azuredevops/build_get_all · Action
List builds across a project, filterable by definition, status, result and branch. This is the classic Build API rather than the Pipelines API — deliberately: the Pipelines API can only list runs of ONE pipeline, so a cross-pipeline view is only available here.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Pipeline IDs | string | comma-separated pipeline/definition IDs, e.g. 12,14 — blank for all | |
| Status | string | blank for any status — choices: In Progress, Completed, Cancelling, Postponed, Not Started | |
| Result | string | blank for any result — only meaningful for completed builds — choices: Succeeded, Partially Succeeded, Failed, Canceled | |
| Branch | string | main — matched as a full ref (refs/heads/main) | |
| Return All | boolean | follow continuation tokens until every page is fetched | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
Azure DevOps: Get Build Log
devops/azuredevops/build_log_get · Action
Fetch a build's logs as text — the payload to paste into a chat message when a build fails. Leave Log ID blank to concatenate every log for the build in order; set it to fetch just one. Very large logs are truncated and flagged rather than silently clipped.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Build | integer | Required | the build ID |
| Log ID | integer | one log's ID — leave blank for the whole build's logs |
Returns: id, result, content, truncated, tool_result, success, error
04Commit
Azure DevOps: List Commits
devops/azuredevops/commit_get_all · Action
List commits in a repository, filterable by branch, author, date range and file path. Useful for building release notes or spotting what landed since a given date.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Branch | string | main — leave blank for the default branch | |
| Author | string | the commit author's display name or email | |
| From Date | string | only commits after this, e.g. 2026-07-01T00:00:00Z | |
| To Date | string | only commits before this, e.g. 2026-07-17T00:00:00Z | |
| File Path | string | only commits touching this path, e.g. /src/api | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
05Pipeline
Azure DevOps: Get Pipeline Artifact
devops/azuredevops/pipeline_artifact_get · Action
Get a named artifact from a pipeline run, with a time-limited download URL. Artifacts are how a pipeline hands its output to the rest of a flow. The URL is returned rather than the bytes — build artifacts are routinely gigabytes.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Pipeline | integer | Required | the pipeline ID (see List Pipelines) |
| Run | integer | Required | the run ID returned by Run Pipeline |
| Artifact Name | string | Required | the artifact's publish name, e.g. drop |
| Include Download URL | boolean | return a time-limited anonymous download URL (on by default) |
Returns: id, result, download_url, expires_at, tool_result, success, error
Azure DevOps: List Pipelines
devops/azuredevops/pipeline_get_all · Action
List the pipelines in a project, returning each one's ID, name and folder. The IDs this returns are what Run Pipeline takes.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Return All | boolean | follow continuation tokens until every page is fetched | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
Azure DevOps: Run Pipeline
devops/azuredevops/pipeline_run · Action
Queue a pipeline run — the headline action, and the reason to wire Azure DevOps into a flow at all. Returns immediately with the run in progress; pair it with Get Pipeline Run to wait for the outcome. Variables can be given as plain name/value pairs.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Pipeline | integer | Required | the pipeline ID (see List Pipelines) |
| Branch | string | main — leave blank to use the pipeline's default branch | |
| Template Parameters | object | {"environment": "staging"} — the pipeline's declared parameters | |
| Variables | object | {"releaseTag": "v1.2.3"} — only variables the pipeline marks settable at queue time | |
| Stages to Skip | string | comma-separated stage names, e.g. Deploy,Notify |
Returns: id, result, run_state, run_url, tool_result, success, error
Azure DevOps: Get Pipeline Run
devops/azuredevops/pipeline_run_get · Action
Get a pipeline run's state and result — the polling half of run, wait, report. State and Result are SEPARATE: a run is only finished when State is "completed", and until then Result reads "unknown", which does not mean it failed.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Pipeline | integer | Required | the pipeline ID (see List Pipelines) |
| Run | integer | Required | the run ID returned by Run Pipeline |
Returns: id, result, run_state, run_result, finished, tool_result, success, error
Azure DevOps: List Pipeline Runs
devops/azuredevops/pipeline_run_get_all · Action
List the recent runs of one pipeline, newest first — for "did today's build pass?" style flows. The service returns its own recent window and takes no paging parameters, so Limit trims the list on our side.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Pipeline | integer | Required | the pipeline ID (see List Pipelines) |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
06Pr
Azure DevOps: Comment on Pull Request
devops/azuredevops/pr_comment_add · Action
Comment on a pull request. Azure DevOps models PR comments as threads, so a new comment starts a thread; give a Thread ID to reply inside an existing one instead.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Pull Request | integer | Required | the PR ID, e.g. 128 |
| Comment | text | Required | what you want to say — Markdown is supported |
| Reply to Thread | integer | an existing thread's ID — leave blank to start a new thread | |
| Thread Status | string | efault active — only applies to a new thread — choices: Active, Fixed, Won't Fix, Closed, Pending |
Returns: id, result, tool_result, success, error
Azure DevOps: Complete Pull Request
devops/azuredevops/pr_complete · Action
Complete (merge) a pull request, with the usual options — squash, delete the source branch, resolve linked work items. Azure DevOps refuses to merge a PR that has moved since you last read it, so this action re-reads the PR first and echoes its latest commit back; no extra step needed.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Pull Request | integer | Required | the PR ID, e.g. 128 |
| Merge Strategy | string | efault: a merge commit — choices: Merge Commit, Squash, Rebase, Semi-Linear Merge | |
| Merge Commit Message | text | leave blank for the default message | |
| Delete Source Branch | boolean | remove the source branch once merged | |
| Resolve Linked Work Items | boolean | move the PR's linked work items to their next state | |
| Bypass Branch Policies | boolean | merge despite failing policies (needs elevated permission) | |
| Bypass Reason | string | why the policies were bypassed — recorded in the audit log |
Returns: id, result, pr_status, merge_status, tool_result, success, error
Azure DevOps: Create Pull Request
devops/azuredevops/pr_create · Action
Open a pull request. Branch names can be given plainly ("main") — the full ref Azure DevOps insists on is filled in for you. Reviewers are given as identity IDs; Work Item IDs link the PR to the work it delivers.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Source Branch | string | Required | the branch with your changes, e.g. feature/checkout-fix |
| Target Branch | string | Required | the branch to merge into, e.g. main |
| Title | string | Required | a short summary of the change |
| Description | text | what changed and why | |
| Reviewers | string | comma-separated identity IDs (GUIDs) — not email addresses | |
| Link Work Items | string | comma-separated work item IDs to link, e.g. 42,43 | |
| Draft | boolean | open as a draft — no reviewers are notified and policies do not run |
Returns: id, result, url, tool_result, success, error
Azure DevOps: Get Pull Request
devops/azuredevops/pr_get · Action
Get one pull request, including its merge status, reviewers and the last source commit. Merge Status is what tells you whether it can actually be completed.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Pull Request | integer | Required | the PR ID, e.g. 128 |
Returns: id, result, pr_status, merge_status, tool_result, success, error
Azure DevOps: List Pull Requests
devops/azuredevops/pr_get_all · Action
List pull requests in a repository, filterable by status, creator, reviewer and target branch. "PRs awaiting review" is the classic use — set Status to Active and give a Reviewer ID.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Status | string | efault active — choices: Active, Completed, Abandoned, All | |
| Creator ID | string | identity ID (GUID) of the PR author | |
| Reviewer ID | string | identity ID (GUID) of a reviewer | |
| Target Branch | string | main — only PRs merging into this branch | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
Azure DevOps: Update Pull Request
devops/azuredevops/pr_update · Action
Update a pull request's title, description or target branch — and this is also how you abandon one (set Status to Abandoned) or bring it back (Active). Publishing a draft is Draft = off. To merge, use Complete Pull Request.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
| Pull Request | integer | Required | the PR ID, e.g. 128 |
| Title | string | leave blank to keep the current title | |
| Description | text | leave blank to keep the current description | |
| Status | string | leave blank to keep the current status — choices: Active (reactivate), Abandoned | |
| Target Branch | string | retarget the PR at another branch, e.g. release/2.0 | |
| Draft | boolean | turn off to publish a draft PR and start the review |
Returns: id, result, pr_status, tool_result, success, error
07Project
Azure DevOps: Get Project
devops/azuredevops/project_get · Action
Get one Azure DevOps project by name or ID, including its description, visibility and state. Turn on Include Capabilities to also return the process template and version-control type.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Include Capabilities | boolean | also return the process template and version-control type |
Returns: id, result, tool_result, success, error
Azure DevOps: List Projects
devops/azuredevops/project_get_all · Action
List the projects in an Azure DevOps organisation. Every other action needs a project, so this is the natural first step — and the connection test: it validates the Organisation URL and the Personal Access Token without touching anything else.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| State | string | which projects to include — default well-formed (the normal, usable ones) — choices: Well Formed, Create Pending, Deleting, All | |
| Return All | boolean | follow continuation tokens until every page is fetched | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
08Release
Azure DevOps: Create Release
devops/azuredevops/release_create · Action
Create a classic release from a release pipeline. Note this is classic Release Management, which Microsoft has steered new work away from in favour of multi-stage YAML pipelines — if your project deploys from a pipeline, use Run Pipeline instead.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Release Pipeline | integer | Required | the release definition ID |
| Description | text | why this release is being created | |
| Artifacts | object | [{"alias": "_Build", "instanceReference": {"id": "1234"}}] — blank uses each artifact's latest version | |
| Create as Draft | boolean | create without starting any deployment | |
| Manual Stages | string | comma-separated stage names to hold for a manual start, e.g. Production |
Returns: id, result, url, tool_result, success, error
Azure DevOps: List Releases
devops/azuredevops/release_get_all · Action
List classic releases in a project. Note this is classic Release Management, which Microsoft has steered new work away from in favour of multi-stage YAML pipelines — if your project deploys from a pipeline, use List Pipeline Runs instead.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Release Pipeline | integer | a release definition ID — blank for every release in the project | |
| Status | string | blank for any status — choices: Active, Draft, Abandoned | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
09Repo
Azure DevOps: Get Repository
devops/azuredevops/repo_get · Action
Get one Git repository by name or ID — its default branch, size, web URL and clone URLs.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Repository | string | Required | repository name or ID |
Returns: id, result, tool_result, success, error
Azure DevOps: List Repositories
devops/azuredevops/repo_get_all · Action
List the Git repositories in a project, with each one's ID, default branch and clone URLs.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Include Hidden | boolean | also return repositories hidden from the project's repo list | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
10Team
Azure DevOps: List Teams
devops/azuredevops/team_get_all · Action
List the teams in a project. Mostly useful for scoping a WIQL query to one team's backlog, or for resolving a team ID to feed another tool.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Only My Teams | boolean | limit to teams the token's owner belongs to | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
11Workitem
Azure DevOps: Add Work Item Comment
devops/azuredevops/workitem_comment_add · Action
Add a comment to a work item. Unlike creating or updating one, a comment is plain text on its own endpoint — no field map involved. Comments accept simple HTML for formatting.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Work Item | integer | Required | the work item ID, e.g. 42 |
| Comment | text | Required | what you want to say — simple HTML is allowed |
Returns: id, result, tool_result, success, error
Azure DevOps: List Work Item Comments
devops/azuredevops/workitem_comment_get_all · Action
List the comments on a work item, newest last. Note these are the discussion comments, not the field-change history.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Work Item | integer | Required | the work item ID, e.g. 42 |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
Azure DevOps: Create Work Item
devops/azuredevops/workitem_create · Action
Create a work item (Bug, Task, User Story, …). Fields are given as an ordinary name/value map — "title", "assigned to", "priority" and the like, or full reference names such as System.AreaPath. The JSON-Patch document Azure DevOps actually requires is built for you.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| Type | string | Required | Bug, Task, User Story — see List Work Item Types (process templates differ) |
| Title | string | Required | a short summary of the work |
| Fields | object | {"description": "…", "assigned to": "jane@contoso.com", "priority": 2} — shorthands or reference names | |
| Bypass Rules | boolean | skip the process template's validation rules (needs elevated permission) | |
| Suppress Notifications | boolean | do not email anyone about this change |
Returns: id, result, url, tool_result, success, error
Azure DevOps: Delete Work Item
devops/azuredevops/workitem_delete · Action
Delete a work item. By default it goes to the project's recycle bin and can be restored; turn on Destroy Permanently to erase it outright, which cannot be undone.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | project name or ID — optional; work items are addressable organisation-wide | |
| Work Item | integer | Required | the work item ID, e.g. 42 |
| Destroy Permanently | boolean | erase instead of sending to the recycle bin — this cannot be undone |
Returns: id, result, tool_result, success, error
Azure DevOps: Get Work Item
devops/azuredevops/workitem_get · Action
Get a work item by ID. Expand pulls in relations, links or every field; Fields narrows the response to the reference names you list. The two cannot be combined — Azure DevOps rejects that pairing.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | project name or ID — optional; work items are addressable organisation-wide | |
| Work Item | integer | Required | the work item ID, e.g. 42 |
| Expand | string | extra detail to include — cannot be combined with Fields — choices: None, Relations, Fields, Links, All | |
| Fields | string | comma-separated reference names, e.g. System.Title,System.State — blank for the default set |
Returns: id, result, url, tool_result, success, error
Azure DevOps: Get Work Items (Batch)
devops/azuredevops/workitem_get_batch · Action
Fetch many work items by ID in one go — paste a list of IDs and get the full items back. Azure DevOps caps a batch at 200, so longer lists are split automatically. Fields and Expand cannot be combined.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | project name or ID — optional; work items are addressable organisation-wide | |
| Work Item IDs | string | Required | comma-separated IDs, e.g. 42,43,44 |
| Fields | string | comma-separated reference names, e.g. System.Title,System.State — cannot be combined with Expand | |
| Expand | string | extra detail to include — cannot be combined with Fields — choices: None, Relations, Fields, Links, All |
Returns: results, count, tool_result, success, error
Azure DevOps: Query Work Items (WIQL)
devops/azuredevops/workitem_query_wiql · Action
Run a WIQL query and return the matching work items, fully populated. WIQL itself returns ONLY id references no matter what the SELECT clause lists, so this action hydrates them for you (in batches of 200) — otherwise the results would be unusable in a flow. Cap your query with a WHERE clause: large result sets are expensive and are trimmed at 2000 items.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
| WIQL Query | text | Required | SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active' ORDER BY [System.ChangedDate] DESC |
| Team | string | team name — needed only for queries using @CurrentIteration or @TeamAreas | |
| Fields | string | comma-separated reference names to return, e.g. System.Title,System.State — blank for the default set | |
| Limit | integer | how many to return (default 50, max 1000) |
Returns: results, count, tool_result, success, error
Azure DevOps: List Work Item Types
devops/azuredevops/workitem_type_get_all · Action
List the work item types available in a project — Bug, Task, User Story and whatever else the project's process template defines. Worth checking before Create Work Item: process templates are customisable, so the familiar names are not guaranteed.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | Required | project name or ID |
Returns: results, count, tool_result, success, error
Azure DevOps: Update Work Item
devops/azuredevops/workitem_update · Action
Update a work item's fields. Give an ordinary name/value map — "state", "assigned to", "priority", or full reference names; set a value to null to clear that field. The JSON-Patch document Azure DevOps requires is built for you.
| Field | Type | Details | |
|---|---|---|---|
| Organisation URL | string | Required | https://dev.azure.com/your-org (or https://your-org.visualstudio.com) |
| API Version | string | 7.1 — leave blank unless Microsoft asks you to pin another version | |
| Project | string | project name or ID — optional; work items are addressable organisation-wide | |
| Work Item | integer | Required | the work item ID, e.g. 42 |
| Fields | object | Required | {"state": "Active", "assigned to": "jane@contoso.com"} — null clears a field |
| Bypass Rules | boolean | skip the process template's validation rules (needs elevated permission) | |
| Suppress Notifications | boolean | do not email anyone about this change |
Returns: id, result, url, tool_result, success, error
12Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- Run Pipeline returns the moment a run is queued rather than when it finishes, so pair it with Get Pipeline Run and poll until State reads
completedbefore treating the result as final; until then Result readsunknown, which does not mean it failed. - WIQL queries are trimmed at 2000 hydrated work items and are rejected outright by the service beyond roughly 20,000 matches, so constrain large queries with a WHERE clause.
- Return All stops at an internal 50-page safety cap on very large organisations and flags when it has done so, so narrow the filter rather than treat a capped list as complete.
- Work item types are defined by each project's process template, so the familiar names (Bug, Task, User Story) are not guaranteed — check List Work Item Types before Create Work Item.
- An expired or under-scoped Personal Access Token surfaces as a returned sign-in page rather than an outright rejection, so re-check the token's scopes and expiry date when calls that previously worked begin failing.
- Create Release and List Releases target classic Release Management, which Microsoft has steered new work away from — use Run Pipeline and List Pipeline Runs for projects that deploy from YAML pipelines.