Open a pull request

Learn how to open a pull request in a code pipeline.

Connect Bitbucket

If you haven't connected Bitbucket yet, you'll see a banner near the end of the Delivery step when creating your pipeline. Click Connect Bitbucket, and choose either Sign in with OAuth or Use a personal access token.

Connect Bitbucket

Authenticate with OAuth

  1. Select the account you would like to use with Supernova.
  2. You can now use this Bitbucket account to automate pull requests using pipelines.

Authenticate with PAT

PAT - Bitbucket
  1. Once you click Use a personal access token, a dialog will open.
  2. Enter a name for the token, an optional server URL, and paste in your personal access token.
  3. Click Save.
  4. You can now use this Bitbucket account to automate pull requests using pipelines.

Use a custom server URL

PAT - Bitbucket (Custom)
If you would like to use a custom server URL instead of bitbucket.org:
  1. In the access token dialog, click the switch beside Custom server URL to Yes.
  2. You will then need to provide only the server URL and personal access token.
  3. Click Save.
  4. You can now use this Bitbucket account to automate pull requests using pipelines.

Select delivery destination

  1. When creating a pipeline, select Open Bitbucket pull request as the delivery method.
  2. Select where you would like to open the pull request. Choose the connection (OAuth or personal access token), a workspace, project, repository, branch and optionally a relative path.
  3. Click Create pipeline.

Configuration options

  • Connection: The authentication method you would like to use for this hook (OAuth or personal access token)
  • Workspace: Your Bitbucket workspace.
  • Project: The Bitbucket project containing your repository.
  • Repository: The Bitbucket repository.
  • Branch: The branch where the pull request will be opened.
  • Relative path: Path relative to the repository root to which code will be exported.