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]

How to Enable Bitbucket in ClickUp

Step 1 (option 1): Authorize

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

Click Add Bitbucket to authorize ClickUp.

Step 1 (option 2): Authorize self-hosted Bitbucket

1. In your hosted bitbucket, go to Manage account in the top right dropdown menu

2. Go to Personal access tokens in the left sidebar

3. Create a new access token with admin permissions on Projects and Repositories.

4. Copy the personal access token given into ClickUp

Step 2: Attach Personal Repositories to Team Repositories

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

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: At this time, you can only associate Bitbucket repositories where you have admin access.

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.

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

  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.

Note: You can also link task ID's from Bitbucket back to ClickUp!

  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 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

You can customize the auto-generated name used in these options under the Bitbucket integration 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!

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!

Having trouble with Bitbucket?

Read our troubleshooting doc or ask Bitbucket customer support here.

Be sure to let us know what else you would like to see on our feedback board here!

Did this answer your question?