Skip to main content

Pull Request Creation - Generic

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 from the content zip file.

Dependencies#

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

Sub-playbooks#

  • Pull Request Creation - Github
  • Pull Request Creation - Bitbucket

Integrations#

  • Bitbucket
  • GitHub

Scripts#

  • UnzipFile
  • PrintErrorEntry
  • IsIntegrationAvailable
  • Set
  • ReadFile

Commands#

  • setIncident
  • getUsers
  • send-notification

Playbook Inputs#


NameDescriptionDefault ValueRequired
ChannelNameThe channel to which to send notifications.Optional
PullRequestTemplatePull request description template.### Pull Request created in Cortex XSOAR
Created by: {}
Pack: {}
Branch: {}
Link to incident in Cortex XSOAR: {}
{}
---
Required
MainBranchThe name of the branch you want the changes pulled into, which must be an existing branch on the current repository.masterRequired
GitIntegrationWhich version control integration to use.GitHubRequired

Playbook Outputs#


There are no outputs for this playbook.