> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeobsess.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bitbucket

> Use Bitbucket Cloud as your code host with the CodeObsess for Bitbucket app.

## What it does

With Bitbucket Cloud as your code host, CodeObsess copies your repositories for a run and opens pull requests in your Bitbucket workspace, with the person who asked as reviewer and co-author. Review comments on its pull requests are passed to the ticket. Use Bitbucket with Jira or Linear tickets.

> [!NOTE]
>
> Bitbucket is switched off until CodeObsess switches it on for your company. [Report a problem](https://docs.codeobsess.com/support/report-a-problem.md) or contact CodeObsess to ask for it. See [Bitbucket isn't switched on](https://docs.codeobsess.com/troubleshooting/bitbucket-not-on.md).

## Connect Bitbucket

An owner or admin of your company does this.

1. On Home, answer **Where is your code?** with **Bitbucket**.
2. Press **Link Bitbucket** and sign in with your Atlassian account.
3. Install **CodeObsess for Bitbucket** in your Bitbucket workspace.
4. Come back to Home and press **I've installed it**. CodeObsess reads your repositories from Bitbucket.
5. Do the **Choose repositories** step.

Only an admin of your Bitbucket workspace can install the app. If that isn't you, press **Ask your Bitbucket admin** and send them the link. It works once, for 7 days, and connects Bitbucket for your company only.

## Each person links Bitbucket

In **My account**, each person presses **Link Bitbucket**. This tells CodeObsess which pull requests are theirs and which repositories they can see. It is not a sign-in method. People sign in with **Continue with Atlassian**.

## What access it needs

CodeObsess for Bitbucket asks for:

* read and write access to repositories,
* read and write access to pull requests,
* read access to the workspace.

## Disconnect

**Settings › Connections** shows Bitbucket with **Manage on Bitbucket**, where you can remove the app from your workspace. A person removes their own link with **Unlink Bitbucket** in **My account**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.