> For the complete documentation index, see [llms.txt](https://docs.autommate.com/userguide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autommate.com/userguide/integrations-and-api/libraries/integration/msp-hub-app-guides/bitbucket.md).

# Bitbucket

Attach a pull request to a change review.

### Set up the connection

In the customer workspace, open a Hyperflow in Designer and select the **Bitbucket** library. Choose the saved access-token credential for that customer. If the library is missing, check the installed version with your MSP Hub administrator.

### Try a read-only workflow

1. Add **List Pull Requests** with `repo_slug`, `workspace`.
2. Add **Get Pull Request** with `pull_request_id`, `repo_slug`, `workspace`.
3. Use the same workspace and repository in both steps. Select the pull request ID and compare its branch and review state to the change ticket.

### Available actions

**List Pipelines**, **List Repository Hooks**, **Get Repository Hook**, **Create Repository Hook**, **Update Repository Hook**, **Delete Repository Hook**, **List Pull Requests**, **Get Pull Request**, **Create Pull Request**, **Update Pull Request**.

[Manage app credentials](https://docs.autommate.com/userguide/integrations-and-api/manage-app-and-custom-credentials) · [Install an app library](https://docs.autommate.com/userguide/integrations-and-api/install-and-manage-app-libraries)
