Pull Request Creation - AzureDevOps

This playbook creates a pull request using the AzureDevOps integration.

XSOAR CI/CD · 29 tasks · 5 inputs · 0 outputs

Inputs

  • PullRequestTemplate — Pull request description template.
  • MainBranch — The name of the branch you want the changes pulled into, which must be an existing branch on the current repository.
  • PackName — The name of the pack
  • File — The file or files to commit to the new or updated branch or pull request.
  • Azure DevOps target ref — The reference to create a new branch from.

Commands used

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

Flowchart

yes yes yes yes yes Start Start Create new branch - azure-devops-branch-create Create new branch azure-devops-branch-create Create pull request - azure-devops-pull-request-create Create pull request azure-devops-pull-request-create Get branch list - azure-devops-branch-list Get branch list azure-devops-branch-list Does branch exist? Does branch exist? Set branch name from CI/CD Branch field - Set Set branch name from CI/C... Set Is CI/CD Branch field given Is CI/CD Branch field given Suggest branch name - SuggestBranchName Suggest branch name SuggestBranchName Set branch name from SuggestBranchName output - Set Set branch name from Sugg... Set Is CI/CD Pull Request Branch field given Is CI/CD Pull Request Bra... Set branch name from CI/CD Pull Request Branch field - Set Set branch name from CI/C... Set Get pull request list - azure-devops-pull-request-list Get pull request list azure-devops-pull-request-list Set MessageText value for update action - Set Set MessageText value for... Set Set MessageText for new pull request - Set Set MessageText for new p... Set Set the branch name Set the branch name Check if branch exists and create it if not Check if branch exists an... Commit the files Commit the files Create new pull request Create new pull request Update existing pull request Update existing pull request Create pull request with pack name as title - azure-devops-pull-request-create Create pull request with ... azure-devops-pull-request-create Is Pull Request title empty? Is Pull Request title empty? Does branch exist? Does branch exist? Find Relevant pull request ID - Set Find Relevant pull reques... Set Update relevant Pull Request - azure-devops-pull-request-update Update relevant Pull Request azure-devops-pull-request-update Set New Branch - Set Set New Branch Set Set Existing Branch - Set Set Existing Branch Set Commit files - CommitFiles Commit files CommitFiles Set pull request ID - Set Set pull request ID Set Delete pull requests list context - DeleteContext Delete pull requests lis... DeleteContext