Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Bitbucket Command Line Interface (CLI)
  • Reference
    Reference
     This trigger is hidden
  • User's Guide
    User's Guide
     This trigger is hidden
  • Administrator's Guide
    Administrator's Guide
     This trigger is hidden
  • Release notes
    Release notes
     This trigger is hidden
  • Share data with the Support team
    Share data with the Support team
     This trigger is hidden
  • Downloads
    Downloads
     This trigger is hidden
Results will update as you type.
  • User's Guide
    • Examples
    • Reference
      • Actions
        • addAccessToken
        • addApplicationLink
        • addBranch
        • addBranchRestriction
        • addGroup
        • addSshKey
        • addUser
        • addUserToGroup
        • createProject
        • createPullRequest
        • createRepository
        • declinePullRequest
        • deleteProject
        • deleteRepository
        • disableHook
        • enableHook
        • getAccessTokenList
        • getApp
        • getApplicationLink
        • getApplicationLinkList
        • getBranch
        • getBranchList
        • getBranchRestriction
        • getBranchRestrictionList
        • getBuildStatusList
        • getClientInfo
        • getCommit
        • getCommitList
        • getGroupList
        • getHook
        • getHookList
        • getPermissionList
        • getProject
        • getProjectList
        • getProjectPermissionList
        • getPullRequest
        • getPullRequestList
        • getReplacementVariableList
        • getRepository
        • getRepositoryList
        • getRepositoryPermissionList
        • getServerInfo
        • getSshKeyList
        • getUser
        • getUserList
        • grantPermissions
        • grantProjectPermissions
        • grantRepositoryPermissions
        • help
        • installApp
    Calendars
You‘re viewing this with anonymous access, so some content might be blocked.
/
createPullRequest



createPullRequest

Dec 03, 2024

See also: Actions

Description

Create a new pull request.

Required Parameters

project, repository, from, to, pullRequest

Optional Parameters

name, description, reviewers

Type

Create

Category

Pull Requests

Output Formats

Replacement Variables

pullRequest, pullRequestId

Hostingserver,datacenter
Since Version

Examples

createPullRequest

Related How To's

, multiple selections available, Use left or right arrow keys to navigate selected items
cli-action
cli-action-createpullrequest
cli-parameter-project
cli-parameter-repository
cli-parameter-name
cli-parameter-description
cli-parameter-from
cli-parameter-to
cli-parameter-reviewers
cli-parameter-action
cli-parameter-dateformat
cli-parameter-dateformat2
cli-parameter-help
cli-parameter-outputtype
cli-parameter-special
cli-parameter-quiet
cli-parameter-verbose
cli-parameter-debug
cli-action-category-pull-requests
cli-action-type-create
cli-parameter-pullrequest
cli-parameter-server
cli-parameter-user
cli-parameter-password
cli-parameter-token
Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.
{"serverDuration": 14, "requestCorrelationId": "7dd2a3308a0940f19996eba9b325fc0f"}