Skip to main content

Pull Request Creation - AzureDevOps

This Playbook is part of the XSOAR CI/CD Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

This playbook creates a pull request using the Azure DevOps integration.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

Azure DevOps

Scripts#

  • SuggestBranchName
  • CommitFiles
  • Set
  • DeleteContext

Commands#

  • azure-devops-branch-list
  • azure-devops-branch-create
  • azure-devops-pull-request-create
  • azure-devops-pull-request-list
  • azure-devops-pull-request-update
  • azure-devops-file-list
  • azure-devops-file-update
  • azure-devops-file-create

Playbook Inputs#


NameDescriptionDefault ValueRequired
PullRequestTemplatePull request description template.Required
MainBranchThe name of the branch you want the changes pulled into, which must be an existing branch on the current repository.Optional
PackNameThe name of the pack.Required
FileThe file or files to commit to the new or updated branch or pull request.Required

Playbook Outputs#


There are no outputs for this playbook. Creating a branch (with the azure-devops-branch-create command) creates a new file due to API limitations ("create_branch.txt").