Skip to main content

Pull Request Creation - Bitbucket

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 Bitbucket integration.

Dependencies#

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

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

  • Bitbucket

Scripts#

  • SuggestBranchName
  • CommitFiles
  • Set
  • DeleteContext

Commands#

  • bitbucket-pull-request-list
  • bitbucket-branch-get
  • bitbucket-pull-request-update
  • bitbucket-branch-create
  • bitbucket-pull-request-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.Required
PackNameThe name of the packRequired
FileThe File or Files to commit to the new or updated branch or prRequired

Playbook Outputs#


There are no outputs for this playbook.