Bitbucket Integration Pro
Integrating Bitbucket with Plane allows you to sync your development workflow by linking Bitbucket pull requests with Plane work items. This connection enables automated state updates and keeps your development activity visible alongside project planning.
Plane supports integration with:
Bitbucket Cloud
The standard cloud-hosted Bitbucket service at bitbucket.orgBitbucket Data Center
Self-hosted Bitbucket instances for organizations with specific compliance or security requirements
INFO
Bitbucket integration supports pull request automation only. Issue sync between Bitbucket and Plane is not available.
This guide walks you through connecting your Bitbucket account, linking repositories to Plane, and configuring pull request automation.
Set up Bitbucket integration
To get started, you'll need to connect your Bitbucket account, link repositories, and configure Plane projects for PR automation. Follow the steps below:
Connect Bitbucket account
Link your Bitbucket account to your Plane workspace to start syncing pull requests.
Self-hosted Plane instance (Commercial Edition)
If you're running a self-hosted instance of Plane, you'll need to configure Bitbucket OAuth app credentials before proceeding. Check out the setup guide first before diving into the steps on this page.
Navigate to Workspace Settings in Plane.
Go to the Integrations tab.
Locate the Bitbucket integration section.
Click Connect to authenticate your Bitbucket account and initiate the connection.

Review the requested permissions and click Grant access to authorize Plane.
Once authenticated, your Bitbucket account will appear as connected.
At this stage, your Bitbucket account is linked to Plane, but you still need to connect specific repositories.
Connect Bitbucket repository
Connecting a Bitbucket repository allows Plane to receive pull request events from that repository via webhooks. Plane automatically creates the required webhook on the repository when you connect it.

To connect a repository:
- In the Repository Connections section, click Add.
- Search for and select the Bitbucket repository you want to link.
- Click Continue to confirm the selection.
Once connected, the repository will appear in the list and Plane will begin listening for pull request events from it.
Connect Plane project
After linking a Bitbucket repository, associate it with a Plane project to enable PR state automation. This connection determines which Plane project's work items are updated when pull requests change state.

Select the Plane project you want to connect.
In the Pull Request Automation section, configure how Plane should update work item states based on pull request lifecycle events.
Once configured, the project connection will appear in the Plane Project Connections section.
Connect personal Bitbucket account
This step allows comments made in Plane to appear in Bitbucket under your personal Bitbucket user account, rather than the Plane integration bot.
Workspace admins can connect their personal Bitbucket account from the Bitbucket integration page.

- In the Connect personal account section under Integrations, click Connect.
- Review the required permissions and authorize Plane to access your Bitbucket account.
- After granting permissions, the status will update to show your personal account is connected.
INFO
Only one Workspace Admin can connect their Bitbucket account via Workspace Settings. Other workspace members can connect their accounts through Profile Settings.
All other workspace members can connect their personal Bitbucket accounts from the Connections page in Workspace Settings.

- Go to Workspace Settings.
- Select the Connections tab in the sidebar.
- Click Connect in the Bitbucket section, which will redirect you to Bitbucket for authentication.
INFO
If your workspace doesn't have Bitbucket integration enabled, you won't be able to connect your personal account. Contact your Workspace Admin to enable it.
- Once connected, your Bitbucket account will be listed in Plane.
Configure PR state automation
Pull requests in connected Bitbucket repositories are synchronized with Plane work items to keep your project tracking accurate throughout the development lifecycle.
To automate pull request state changes with Plane work items:
- Reference Plane work items in your Bitbucket PR title or description using the appropriate format. See Reference formats below.
- Plane automatically updates the work item state based on the Bitbucket PR state, as defined in your PR state mapping.
Reference formats
There are two ways to reference Plane work items in your Bitbucket pull requests:
With brackets [WEB-344] — State automation
- Links the work item to the PR
- Adds a comment from the Plane bot showing linked work items
- Automatically updates the work item state based on PR state changes (as configured in your PR state mapping)
Without brackets WEB-344 — Link only
- Links the work item to the PR as a reference
- Adds a comment from the Plane bot showing referenced work items
- Does not trigger automatic state updates
Example
PR Title: [WEB-344] Add user authentication feature
PR Description: Implements login functionality for WEB-345In this example:
- WEB-344 will be fully automated — its state changes along with the PR state
- WEB-345 will be linked as a reference only — no state automation
PR lifecycle mapping
The lifecycle of a Bitbucket pull request can be mapped to workflow states in Plane. The following PR states are available for mapping:
- A PR is opened
- A PR is updated
- The PR is merged
- The PR is declined (closed without merging)
Bitbucket Cloud fires events at each stage of the pull request lifecycle:
pullrequest:created— A new PR is openedpullrequest:updated— The PR title, description, or reviewers changepullrequest:fulfilled— The PR is successfully mergedpullrequest:rejected— The PR is declined/closed without merging
Work item backlinks in pull requests
When a PR references Plane work items, Plane posts a confirmation comment on the pull request listing all linked and referenced work items. This keeps Bitbucket reviewers informed about which Plane issues the PR relates to.

