Bitbucket integration

Stiamo lavorando alla traduzione dei nostri articoli del Centro assistenza. Puoi consultare il Centro assistenza anche in inglese o contattarci per fornirci il tuo feedback.

Integrate Bitbucket commits, branches, and pull requests with ClickUp tasks. This allows you to:

  1. See all Bitbucket activity related to a task directly in ClickUp.

  2. Optionally receive ClickUp notifications when new Bitbucket activity items are added to tasks.

  3. Automatically (or manually) attach Bitbucket activity to ClickUp tasks.

  4. Automatically change Statuses with Bitbucket actions by adding the ClickUp task id to your commits using this format #{taskID}[status] For example: #1abc2de[closed]

Screenshot of a Bitbucket task activity notification.

Task view 3.0 is currently in beta. Join the 3.0 waitlist. The following instructions apply to both Task view 2.0 and Task view 3.0.

Authorize ClickUp to connect to Bitbucket

You can integrate ClickUp and or the self-hosted version Bitbucket. The authorization process is different depending on which version of Bitbucket you use.

Option 1: Authorize a account

Note: Only ClickUp admins can attach repositories to your Team's Spaces.

  1. Click your Workspace avatar in the lower-left corner

  2. Select Integrations

  3. Click Bitbucket

  4. Click Activate Bitbucket for Team

  5. Click + Add Bitbucket

  6. Select No, I use and click Link Bitbucket

    Screenshot of the prompt to select the type of Bitbucket account you use.
  7. If you aren't logged in, you'll be prompted to log into your account

  8. Review the permissions required and click Grant access

Screenshot of the permissions message to authorize ClickUp.

Now that you've authorized your account, proceed to the next step of attaching Bitbucket repositories to your Workspace.

Option 2: Authorize a self-hosted Bitbucket account

If you're using a self-hosted version of Bitbucket, you can authorize ClickUp by creating an HTTP access token. Learn more about Bitbucket HTTP access tokens.

  1. In ClickUp, click your Workspace avatar in the lower-left corner

  2. Select Integrations

  3. Click Bitbucket

  4. Click Activate Bitbucket for Team

  5. Click + Add Bitbucket

  6. Select Yes, I use a hosted version of Bitbucket then follow the next steps in Bitbucket

    Screenshot of the option to use hosted version of Bitbucket.
  7. In your hosted Bitbucket, click on your user profile avatar at the top right

  8. Select Manage account

    Screenshot of the Bitbucket user profile menu.
  9. Select HTTP access tokens in the left sidebar

  10. Create a new access token with admin permissions for both Projects and Repositories

  11. Copy the HTTP access token provided

  12. Back in ClickUp, paste the copied token into the Access token field

  13. Enter your Bitbucket account details including:

    • Host url

    • Canonical Url (Optional)

    Screenshot of the Bitbucket account details.
  14. Select your preferences:

    • Use hosted secret?

    • Static IP

  15. Click Link Bitbucket

Now that you've authorized your account, proceed to the next step of attaching Bitbucket repositories to your Workspace.

Attach Bitbucket repositories to your Workspace

ClickUp allows multiple people to authorize Bitbucket within your Workspace, and also permits you to customize which repositories are shared with your Workspace.

This means that you can authorize your personal account without attaching all of your repositories; you can customize which ones to attach.

Attaching a repository does not give users access to your repository's codebase in anyway. It simply allows users to attach history items for that repository to the Space(s) you specify.

Note: You can only associate Bitbucket repositories where you have admin access.

Screenshot of Bitbucket repositories and the option to add them to ClickUp.

Step 3: Select which Spaces are attached to your Repositories

You can customize which Spaces that repositories are attached to by expanding the drop-down to the right of Team Repos. In order to attach Bitbucket items to tasks, the Space must be attached to the repository.

Screenshot linking Bitbucket repositories with ClickUp Spaces.

Automatically associate Bitbucket activity in ClickUp

ClickUp will automatically pick up any new activity and associate it with tasks.

To enable this, you must:

Add a ClickUp task ID in any part of the pull request title, branch name, or commit message in one of these formats:




For example:




Manually associating Bitbucket Activity

Screenshot of the Bitbucket icon on a ClickUp task.
  1. Click the Bitbucket icon on any task

  2. Select a Repo

  3. Select a Branch

  4. Attach your commit

Automatically change task Status via Bitbucket

You can also change the status of a task from a commit or pull request.
To do this:

Add the ClickUp task ID in any part of the commit message, as well as the status you want inside brackets.
For example: #ud5b[ready]
Watch the task's status change in this video.

Animation of a task status change from a Bitbucket git push.

Note: You can also link task IDs from Bitbucket back to ClickUp!

Screenshot of a commit in Bitbucket.
  1. Go to repository settings

  2. Click Links

  3. Add new link

  4. Link type: Custom

  5. Link URL:\1

  6. Link key: CU-(\w{3,10})(\[\w+\])?

This works for both commits and pull requests.


Quickly and easily create new branches from within ClickUp with our quick actions.

  1. Click on the Bitbucket icon to open the Git modal

  2. On the left are a variety of auto-generated quick copy options like suggested name, command to checkout and link a new branch locally, command to link a single commit, or a command to open a pull request

Screenshot of the git branch modal on a ClickUp task.

You can customize the auto-generated name used in these options under the Bitbucket integration settings!

Screenshot of the Bitbucket branch name settings.

Pull requests

Now, you can create pull requests from within ClickUp or link existing ones! To create a new pull request in ClickUp:

  1. Click on the Bitbucket icon on the task you would like to link it to and click the "New Pull Request" button.

  2. In the modal, a suggested pull request title will be pre-filled with a suggested title. If you don't like the auto-generated title, you can adjust it in the Bitbucket integration settings.

  3. Select a target and source branch

  4. Enter a description

  5. Create the pull request

As soon as you create a pull request in ClickUp or link an existing one a link to the associated ClickUp task will be added to the pull request!

Screenshot of a task linked notification in Bitbucket.

Once a pull request is linked you will be able to see who opened it, the reviewer (if one is assigned), CI/CD status, and pull request status (open, review requested, under review, merged, closed) all from within the linked ClickUp task!

Screenshot of pull request activity in ClickUp's git modal.

Having trouble with Bitbucket?

Read our troubleshooting doc or ask Bitbucket customer support here.

Remove the Bitbucket integration

Only Workspace owners and admins can disable integrations.

To remove the integration:

  1. In the lower-left corner, click your avatar.
  2. Select Integrations.
  3. Select Bitbucket.
  4. Scroll down and click Remove authorization for my Bitbucket repositories.

Questo articolo ti è stato utile?