Bitbucket connector

Connect Bitbucket to Okou

Connect Bitbucket Cloud to inspect and manage repositories, pull requests, issues, pipelines, snippets, webhooks, and workspace settings through the Bitbucket Cloud REST API v2.

Category
Engineering
Connection
App Password
Access
Read and write
Setup
No code required

What Okou can do with Bitbucket

Find and read

  • Read account profile, email addresses, SSH keys, and GPG keys.
  • Read repositories, commits, refs, source, downloads, branch restrictions, branching model, reports, commit statuses, and code search.
  • Read projects, project branching models, deploy keys, default reviewers, and permissions.
  • Read pull requests, comments, diffs, commits, tasks, statuses, and default reviewers.
  • Read pipelines, steps, logs, schedules, caches, deployments, environments, and OIDC identity metadata.
  • Read issues, comments, attachments, votes, watches, components, milestones, and versions.
  • Read snippets, comments, commits, files, diffs, and watchers.
  • Read webhooks and webhook event types.

How to connect Bitbucket to Okou

  1. 1

    Find Bitbucket in Connectors

    In your Okou workspace, open Connectors, search for Bitbucket, and select Connect. Okou can also ask you to connect Bitbucket during a chat. Enter the credentials Bitbucket provides in the connection form. Do not paste them into a chat.

    Okou Connectors search results for Bitbucket
  2. 2

    Describe the work

    Ask for the outcome in a chat, or save it as a workflow that runs on a schedule.

    An unsent Bitbucket request in the Okou chat composer
  3. 3

    Or connect when Okou asks

    If a task needs Bitbucket before it is connected, Okou can show a Connect card in the chat. Use the card to complete the connection. If an action needs your approval, Okou asks in the chat and you choose how long to allow it. Adjust allowed actions from Connectors at any time.

    Okou reply with a Connect card for Bitbucket

Permissions and security

  • Connecting Bitbucket and allowing Okou to use it are separate steps. If a task needs an action that is not allowed yet, Okou asks in the chat and you choose how long to allow it.
  • You can change which Bitbucket actions Okou may take at any time from Connectors.
  • Your Bitbucket credentials are stored on the platform and added to each request at the network boundary. They are not exposed to the agent.
  • Each teammate connects their own Bitbucket account. Sharing a workflow does not share your connection.
  • Disconnect Bitbucket from Connectors to remove it from future runs.
How permissions work

Bitbucket connector questions

What can Okou do with Bitbucket?
Connect Bitbucket Cloud to inspect and manage repositories, pull requests, issues, pipelines, snippets, webhooks, and workspace settings through the Bitbucket Cloud REST API v2. Documented actions include: Read account profile, email addresses, SSH keys, and GPG keys. Read repositories, commits, refs, source, downloads, branch restrictions, branching model, reports, commit statuses, and code search.
How do I connect Bitbucket to Okou?
Open Okou, choose Bitbucket, and follow the connection steps shown for your account.

Put Bitbucket to work with Okou

Connect Bitbucket, describe the outcome, and review the result.