Create a Bitbucket OAuth client
In the Bitbucket Cloud workspace that owns the repositories, open Workspace settings → Apps and features → OAuth clients, then create an OAuth client. Set its callback URL to:
Save the client values in setup or deployment environment variables:
BITBUCKET_BASE_URL is optional and defaults to https://bitbucket.org.
BITBUCKET_WEBHOOK_SECRET is optional; Roomote generates one when webhooks are
first configured.
Connect and sync repositories
After saving the consumer values, an admin is redirected to Bitbucket to authorize the deployment. The callback exchanges and encrypts the OAuth connection, synchronizes all accessible repositories, and registers repository webhooks (includingrepo:commit_status_created and repo:commit_status_updated for Pipelines) before returning to setup.
Bitbucket-backed tasks use x-token-auth for Git HTTPS credentials. OAuth API
requests use bearer authentication.
Personal account linking
Users may link personal Bitbucket accounts separately for commenter identity and access-policy checks. Linked accounts do not provide deployment source control credentials.CI Failure Triage
When enabled, Roomote triages failed default-branch Bitbucket Pipelines viarepo:commit_status_created / repo:commit_status_updated webhooks and Manual Run now. Only environment-mapped repositories are included.
Current limits
- Bitbucket Cloud only. Server and Data Center are not supported.
- One deployment OAuth connection is supported.