Skip to content
Connector

Azure DevOps v2

Manage Azure DevOps repositories, pipelines and work items

Manages Git repositories, branches, files and pull requests, pipelines, work items, wiki pages and service connection access in an Azure DevOps organization, and calls any Azure DevOps endpoint.

@ftnt-dspilleMaintainer v3.1.0 Platform 8.0.1+ Published Nov 29, 2026
Download .tgz · 33 KB

azure-devops-v2_3.1.0.tgz

sha256:79ec1e2f5a60cb85065d2e19035f9e96955249d406733e721f92a236f8cd3d1a

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Connector for Azure DevOps (version 3.1.0, named azure-devops-v2, installs next to the stock connector). Every parameter that names an existing object (project, repository, branch, pipeline, pipeline run, pull request, work item, work item type, service connection, wiki, user, reviewers) is a dropdown, so users pick it instead of typing an ID; typed values and Jinja still work. It works with repositories, branches, commits, files and pull requests (create, update, review comments, reviewers, merge commits), pipelines and runs, work items (create, read, update, query, comments), wiki pages, service connections (revoke pipeline access without deleting the connection), the organization audit log and user access levels. The execute API request operation calls any Azure DevOps endpoint of the organization with the connector's own credentials.

Authentication is a Microsoft Entra ID service principal (client credentials, recommended). The service principal is added to the organization with Basic access and to the project with the permissions the operations need. A personal access token is supported as a customer option.

Live-tested

Live-tested on FortiSOAR 8.0.1 against an Azure DevOps organization (3.1.0): 51 operations succeed, including the 11 dropdown option operations, and 6 expected refusals (404 on missing objects, and the 403 of the audit log) are checked live. The playbook branches run live, and the PR review gate runs with Jinja expressions in its dropdown parameters.

Not live-tested

  • List Audit Log and Update User Access: the lab identity has no organization-level permission (View audit log, Users), so the success paths are synthetic; the 403 is live. Add Pull Request Reviewer and Update User Access need an owner user configured and are not in the 3.1.0 run.
  • Disabling a repository: Azure DevOps refuses it through the API for this repository type. Enabling is live.
  • The approved branch of the PR review playbook: a human reviewer must cast the approving vote.
  • The 429 status is synthetic: throttling cannot be provoked on demand.

Configuration · 11 fields

  • Server URL server_url text required

    Azure DevOps base URL. Use https://dev.azure.com for Azure DevOps Services.

    Default https://dev.azure.com

  • Organization Name organization text required

    Name of the Azure DevOps organization (the dev.azure.com/<organization> segment).

  • Default Project project text

    Project used when an operation leaves Project empty.

  • Authentication Type auth_type select required

    Entra ID service principal (client credentials) is recommended. A personal access token is supported for customers that use one.

    Options Entra ID Service PrincipalPersonal Access Token
  • Directory (Tenant) ID tenant_id text

    Entra ID tenant of the app registration (service principal auth).

  • Application (Client) ID client_id text

    Client ID of the app registration (service principal auth). The app must be a user in the organization.

  • Client Secret client_secret password

    Client secret value (not the secret ID) of the app registration.

  • Personal Access Token api_key password

    Personal access token, used only when the authentication type is Personal Access Token.

  • Principal Name principalName text

    Optional. When set, the health check requires this user or principal to be a member of the organization.

  • API Version api_version text

    Azure DevOps REST API version.

    Default 7.1

  • Verify SSL verify_ssl checkbox

    Verify the TLS certificate of the Azure DevOps host.

    Default true

Operations · 53

  • Add Pull Request Reviewer 5 params
    add_pull_request_reviewer

    Adds a reviewer to a pull request.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

    • Reviewer reviewer select required

      Reviewer (user principal name or identity ID).

    • Is Required is_required checkbox

      Required reviewer.

      Default false

  • Add Work Item Comment 3 params
    add_work_item_comment

    Adds a comment to a work item.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Work Item Id work_item_id select required

      Work item ID.

    • Text text text required

      Comment text.

  • Create Branch 4 params
    create_branch

    Creates a branch from an existing branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch text required

      New branch name.

    • Source Branch source_branch select

      Existing branch to start from.

      Default main

  • Create Merge Commit 4 params
    create_merge_request

    Creates a merge commit of two or more parent commits.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Parents parents text required

      Comma-separated parent commit IDs (two or more).

    • Comment comment text

      Merge commit message.

  • Create File In Repository 6 params
    create_new_file_in_repository

    Commits a new file to a branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select required

      Branch name, for example main or feature/example. The refs/heads/ prefix is optional.

    • Commit Message commit_message text required

      Commit message.

    • File Path file_path text required

      Path of the new file, for example /docs/new.md.

    • Content content text

      File content (text).

  • Create Or Update Wiki Page 4 params
    create_or_update_wiki_page

    Creates or replaces a wiki page.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Wiki Id wiki_id select required

      Wiki.

    • Path path text required

      Page path, for example /Runbooks/Triage.

    • Content content text required

      Page content (Markdown).

  • Create Pull Request 8 params
    create_pull_request

    Opens a pull request, optionally with reviewers.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Source Branch source_branch select required

      Source branch.

    • Target Branch target_branch select

      Target branch.

      Default main

    • Title title text required

      Pull request title.

    • Description description text

      Pull request description.

    • Reviewers reviewers multiselect

      Reviewers (multiselect); a comma-separated text list is also accepted.

    • Is Draft is_draft checkbox

      Create as a draft.

      Default false

  • Create Pull Request Comment 6 params
    create_pull_request_comment

    Starts a comment thread on a pull request, or replies in a thread.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

    • Content content text required

      Comment text.

    • Thread Id thread_id integer

      Existing thread to reply to. Leave empty to start a thread.

    • Parent Comment Id parent_comment_id integer

      Comment to reply to within the thread.

  • Create Repository 2 params
    create_repository

    Creates an empty Git repository in a project.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Name name text required

      Repository name.

  • Create Work Item 5 params
    create_work_item

    Creates a work item (Issue, Task or Epic as the process allows), for example from a FortiSOAR incident.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Work Item Type work_item_type select required

      Work item type, for example Issue, Task or Epic (as the process allows).

    • Title title text required

      Title.

    • Description description text

      Description (HTML or text).

    • Fields fields textarea

      Other fields as a JSON object, for example {"System.Tags": "soc; fortisoar"}.

  • Delete Branch 3 params
    delete_branch

    Deletes a branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select required

      Branch to delete.

  • Delete File In Repository 5 params
    delete_existing_file_in_repository

    Commits the deletion of a file.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select required

      Branch name, for example main or feature/example. The refs/heads/ prefix is optional.

    • Commit Message commit_message text required

      Commit message.

    • File Path file_path text required

      Path of the file to delete.

  • Execute API Request 5 params
    execute_an_api_request

    Calls any Azure DevOps REST endpoint of the organization with the connector credentials.

    • Method method select required

      HTTP method.

      Options GETPOSTPUTPATCHDELETE
    • Endpoint endpoint text required

      Path under the organization, for example /_apis/projects. Must not be a URL.

    • Query Params query_params textarea

      Query parameters as a JSON object.

    • Payload payload textarea

      Request body as a JSON value.

    • Content Type content_type text

      Content-Type override, for example application/json-patch+json.

  • Get Commit 3 params
    get_commit

    Returns one commit by SHA.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Commit Id commit_id text required

      Commit SHA (40 hex characters).

  • Get File From Repository 4 params
    get_file_from_repository

    Reads a file from a branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select

      Branch to read from.

      Default main

    • Path path text required

      File path in the repository, for example /README.md.

  • Get Pipeline Run 3 params
    get_pipeline_run

    Returns one pipeline run with its state and result.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Pipeline Id pipeline_id select required

      Pipeline ID.

    • Run Id run_id select required

      Pipeline run ID.

  • Get Pull Request 2 params
    get_pull_requests_by_id

    Returns one pull request by ID.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Pull Request Id pull_request_id select required

      Pull request ID.

  • Get Wiki Page 3 params
    get_wiki_page

    Reads a wiki page with its content.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Wiki Id wiki_id select required

      Wiki.

    • Path path text

      Page path, for example /Home.

      Default /Home

  • Get Work Item 2 params
    get_work_item

    Returns one work item with its fields.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Work Item Id work_item_id select required

      Work item ID.

  • List Audit Log 4 params
    list_audit_log

    Lists organization audit entries in a time window (repo, pipeline and permission changes).

    • Start Time start_time text required

      Start of the window, ISO 8601 UTC, for example 2000-01-01T00:00:00Z.

    • End Time end_time text required

      End of the window, ISO 8601 UTC.

    • Top top integer

      Maximum entries (1 to 200).

      Default 100

    • Action Ids action_ids text

      Comma-separated audit action IDs to keep, for example Git.RepoCreated,Pipelines.PipelineCreated.

  • Get Branch Options (dropdown) 3 params
    list_branch_options

    Lists the branches of the repository (or of a pipeline repository) for the Branch dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

    • Repository Id repository_id text

      Repository (sibling value).

    • Pipeline Id pipeline_id integer

      Pipeline whose YAML repository is listed, when no repository is set.

  • List Branches 4 params
    list_branches

    Lists the branches of a repository.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Filter Contains filter_contains text

      Only branches whose name contains this text.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • List Commits 4 params
    list_commits

    Lists commits, optionally on one branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select

      Branch to list commits from. Leave empty for the default branch.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • Get Pipeline Options (dropdown) 1 param
    list_pipeline_options

    Lists the pipelines of the project for the Pipeline dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • Get Pipeline Run Options (dropdown) 2 params
    list_pipeline_run_options

    Lists the runs of the pipeline (the Pipeline sibling) for the Pipeline Run dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

    • Pipeline Id pipeline_id integer

      Pipeline (sibling value).

  • List Pipeline Runs 3 params
    list_pipeline_runs

    Lists the recent runs of a pipeline.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Pipeline Id pipeline_id select required

      Pipeline ID.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • List Pipelines 2 params
    list_pipelines

    Lists the pipelines in a project.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • Get Project Options (dropdown)
    list_project_options

    Lists the projects of the organization for the Project dropdown.

    No parameters.

  • List Projects 2 params
    list_projects

    Lists the projects in the organization.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

    • State Filter state_filter select

      Project state to list.

      Default wellFormed

      Options wellFormedallcreatePendingdeleteddeletingnewunchanged
  • List Pull Request Comments 4 params
    list_pull_request_comment

    Lists the threads of a pull request, or the comments in one thread.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

    • Thread Id thread_id integer

      Only this thread. Leave empty for all threads.

  • List Pull Request Commits 3 params
    list_pull_request_commits

    Lists the commits of a pull request.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

  • Get Pull Request Options (dropdown) 2 params
    list_pull_request_options

    Lists the pull requests of the repository, or of the project, for the Pull Request dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

    • Repository Id repository_id text

      Repository (sibling value); empty lists the project.

  • List Pull Request Reviewers 3 params
    list_pull_request_reviewers

    Lists reviewers and their votes.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

  • List Pull Requests 4 params
    list_pull_requests

    Lists the pull requests of a repository.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Status status select

      Status filter.

      Default active

      Options allactiveabandonedcompletednotSet
    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • List Repositories 1 param
    list_repositories

    Lists the Git repositories in a project.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

  • Get Repository Options (dropdown) 1 param
    list_repository_options

    Lists the repositories of the project (the Project sibling) for the Repository dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • Get Service Connection Options (dropdown) 1 param
    list_service_connection_options

    Lists the service connections of the project for the Service Connection dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • List Service Connections 2 params
    list_service_connections

    Lists the service connections (endpoints) of a project.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Type type text

      Service connection type, for example generic or github.

  • Get User Options (dropdown)
    list_user_options

    Lists organization users (principal names) for the reviewer and user dropdowns.

    No parameters.

  • List Users 1 param
    list_users

    Lists the users in the organization (Graph).

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • Get Wiki Options (dropdown) 1 param
    list_wiki_options

    Lists the wikis of the project for the Wiki dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • List Work Item Comments 3 params
    list_work_item_comments

    Lists the comments of a work item.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Work Item Id work_item_id select required

      Work item ID.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • Get Work Item Options (dropdown) 1 param
    list_work_item_options

    Lists open work items of the project for the Work Item dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • Get Work Item Type Options (dropdown) 1 param
    list_work_item_type_options

    Lists the work item types of the project for the Work Item Type dropdown.

    • Project project text

      Project (sibling value, or the Default Project).

  • Push Files To Repository 5 params
    push_repository

    Commits several text files to a branch in one push. Never deletes.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select required

      Branch name, for example main or feature/example. The refs/heads/ prefix is optional.

    • Commit Message commit_message text required

      Commit message.

    • Files files textarea required

      JSON object of path to text content. Paths missing from the object are not deleted.

  • Query Work Items 3 params
    query_work_items

    Runs a WIQL query and returns the matching work items.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Wiql wiql text

      WIQL query text. Leave empty for all work items in the project.

    • Top top integer

      Maximum number of items to return (1 to 1000).

      Default 100

  • Revoke Service Connection Pipeline Access 3 params
    revoke_service_connection_pipeline_access

    Stops all pipelines using a service connection (authorized false), without deleting it.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Service Connection Id service_connection_id select required

      Service connection.

    • Authorized authorized checkbox

      False removes access for all pipelines; true grants it to all.

  • Run Pipeline 4 params
    run_pipeline

    Starts a run of a pipeline, optionally on a branch with variables.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Pipeline Id pipeline_id select required

      Pipeline ID.

    • Branch branch select

      Branch to run, for example main. Leave empty for the default branch.

    • Variables variables textarea

      Pipeline variables as a JSON object (name to value).

  • Update File In Repository 7 params
    update_file_in_repository

    Replaces or appends to a file on a branch.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Branch branch select required

      Branch name, for example main or feature/example. The refs/heads/ prefix is optional.

    • Commit Message commit_message text required

      Commit message.

    • File Path file_path text required

      Path of the file to change.

    • Content content text

      Content to write or append.

    • Operation operation select

      Replace the file or append to it.

      Default replace

      Options replaceappend
  • Update Pull Request 7 params
    update_pull_request

    Changes a pull request title, description, draft state or status (active or abandoned).

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Pull Request Id pull_request_id select required

      Pull request ID.

    • Title title text

      Title

    • Description description text

      Description

    • Status status select

      Reactivate or abandon the pull request.

      Options activeabandoned
    • Is Draft is_draft checkbox

      Is draft

  • Update Repository 4 params
    update_repository

    Renames a repository or disables and re-enables it.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Repository Id repository_id select required

      Repository of the project, by name or ID.

    • Name name text

      New repository name.

    • Is Disabled is_disabled checkbox

      Disable (true) or enable (false) the repository.

  • Update User Access 2 params
    update_user_access

    Sets a user access level, for example none to remove access, through the user entitlements API.

    • User user select required

      User (principal name or identity GUID).

    • Access Level access_level select

      Basic (express), Stakeholder, or none (remove all access).

      Default express

      Options expressstakeholdernone
  • Update Work Item 3 params
    update_work_item

    Sets fields on a work item, for example System.State, to sync status.

    • Project project select

      Project name or ID. Leave empty to use the Default Project configured on the connector.

    • Work Item Id work_item_id select required

      Work item ID.

    • Fields fields textarea required

      Fields to set, as a JSON object of field reference name to value, for example {"System.State": "Doing"}.

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000