
Atlassian Bitbucket Cloud
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect Atlassian Bitbucket Cloud to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Connect your Bitbucket Cloud workspace to sync repositories, pull requests, commits, pipelines, and more.
Your credentials need the repository, pullrequest, pipeline, and account read scopes. Avoid app passwords — Atlassian is retiring them; use an API token or an access token instead.
Configuration
| Option | Description |
|---|---|
WorkspaceType: text Required: True | Your workspace ID — the part after |
Authentication typeType: select Required: True |
Linking Atlassian Bitbucket Cloud to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Atlassian Bitbucket Cloud
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
repositories | A git repository in the Bitbucket Cloud workspace. | Incremental, Full refresh | updated_on, created_on | — |
pull_requests | A pull request in any repository of the workspace, in any state (open, merged, declined, or superseded). | Incremental, Full refresh | updated_on, created_on | — |
commits | A commit reachable from any branch of any repository in the workspace, newest-first in topological order. | Incremental, Full refresh | date | — |
pipelines | A Bitbucket Pipelines run (CI/CD build) in any repository of the workspace. | Incremental, Full refresh | created_on | — |
deployments | A deployment of a pipeline release to an environment, in any repository of the workspace. | Full refresh | — | — |
workspace_members | A user's membership in the Bitbucket Cloud workspace. | Full refresh | — | — |