For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bitbucket

Add Git connection

To add a Bitbucket personal app password in Brainboard, you first need to generate it in your Bitbucket account.

Steps to generate an API token for your Bitbucket account.
  1. Create an API token with the following scopes:

    • Set the name and expiry date you want.

    • Select the Bitbucket app.

    • Select the following scopes:

      • write:pullrequest:bitbucket

      • write:repository:bitbucket

      • read:pullrequest:bitbucket

      • read:repository:bitbucket

  2. Once the token is generated, you can copy it to add to Brainboard.

Steps to add the generated token in Brainboard

  1. Go to the Git connections page.

  2. Click on Add connection .

  3. Switch to the Bitbucket tab.

  1. Add your credentials in the displayed window:

  • Name of the token. This is only for Brainboard; it will not be used when you do a pull request.

  • The API URL of your Bitbucket server. By default, Brainboard uses https://api.bitbucket.org/2.0 , but you can set your own URL.

  • Email: This is your Atlassian/Bitbucket email.

  • API token: The API Token generated.

  1. Then click on the Save and close button.

  2. Brainboard will verify if the credentials are valid.

    1. Valid credentials: In this case, Brainboard displays a success message, and you can see the integration now in the Git connections page.

    2. Invalid credentials: In this case, you'll receive an error about what is wrong. For example, the one shared below.

How to use

Please refer to the page How to use to understand how you can use your Git connections whether you want to perform a PULL request and import your code from Git.

Edit or delete connection

  1. Go to the Git connections page.

  2. Click on the connection that you want to delete.

  3. Click on the Delete Configuration button given at the bottom right corner of the page.

  4. Click on the Delete button again to confirm your action.

Last updated