Skip to main content

Bitbucket integration for AI agents

Work with Bitbucket Cloud repositories, pull requests, and pipelines

Bitbucket is a Sim integration in the DevOps category. Sim is the AI workspace where teams build and deploy AI agents. Sim's Bitbucket integration provides 30 tools and 19 triggers that AI agents can use inside Sim's visual workflow builder. Bitbucket connects with one-click OAuth. Free to start at sim.ai.

View docs

Last updated

What Sim agents can do with Bitbucket

Connect Bitbucket Cloud to inspect repositories and source, collaborate on pull requests, diagnose or control pipelines, and start workflows from repository and pull request events. OAuth is used for actions and automatic webhook management.

Category
DevOps
Authentication
OAuth
Tools
30
Triggers
19
Documentation
Bitbucket docs

How to automate Bitbucket with Sim

  1. Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. Add a Bitbucket block

    Open your workspace, drag a Bitbucket block onto the workflow builder, and connect your account with one-click OAuth.

  3. Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Bitbucket automation is live.

Bitbucket triggers

Add a Bitbucket trigger to a Sim agent and it starts a run whenever one of these Bitbucket events occurs.

Bitbucket Push

Trigger workflow when commits are pushed to a Bitbucket repository

Bitbucket Repository Forked

Trigger workflow when a Bitbucket repository is forked

Bitbucket Repository Updated

Trigger workflow when a Bitbucket repository is updated

Bitbucket Commit Comment Created

Trigger workflow when a comment is created on a Bitbucket commit

Bitbucket Build Status Created

Trigger workflow when a build status is created for a Bitbucket commit

Bitbucket Build Status Updated

Trigger workflow when a build status is updated for a Bitbucket commit

Bitbucket Pull Request Created

Trigger workflow when a Bitbucket pull request is created

Bitbucket Pull Request Updated

Trigger workflow when a Bitbucket pull request is updated

Bitbucket Pull Request Approved

Trigger workflow when a Bitbucket pull request is approved

Bitbucket Pull Request Approval Removed

Trigger workflow when approval is removed from a Bitbucket pull request

Bitbucket Pull Request Changes Requested

Trigger workflow when changes are requested on a Bitbucket pull request

Bitbucket Pull Request Changes Request Removed

Trigger workflow when a changes request is removed from a Bitbucket pull request

Bitbucket Pull Request Merged

Trigger workflow when a Bitbucket pull request is merged

Bitbucket Pull Request Declined

Trigger workflow when a Bitbucket pull request is declined

Bitbucket Pull Request Comment Created

Trigger workflow when a comment is created on a Bitbucket pull request

Bitbucket Pull Request Comment Updated

Trigger workflow when a comment is updated on a Bitbucket pull request

Bitbucket Pull Request Comment Deleted

Trigger workflow when a comment is deleted from a Bitbucket pull request

Bitbucket Pull Request Comment Resolved

Trigger workflow when a comment is resolved on a Bitbucket pull request

Bitbucket Pull Request Comment Reopened

Trigger workflow when a resolved comment is reopened on a Bitbucket pull request

Agent templates

Ready-to-use templates featuring Bitbucket. Click any to build it instantly.

Bitbucket tools

30 Bitbucket tools available to Sim agents.

List Workspaces

List Bitbucket Cloud workspaces available to the authenticated account

List Repositories

List repositories in a Bitbucket Cloud workspace

Get Repository

Get a Bitbucket Cloud repository

List Branches

List branches in a Bitbucket Cloud repository

Create Branch

Create a branch at a commit hash or existing ref

Delete Branch

Delete a branch from a Bitbucket Cloud repository

List Commits

List repository commits in reverse chronological order

Get Commit

Get a repository commit by its full SHA-1

List Directory

List one shallow repository directory at a full commit SHA-1

Get File Metadata

Inspect file size and attributes at a full repository commit SHA-1

Get File

Read bounded UTF-8 text from a file at a full repository commit SHA-1

List Pull Requests

List pull requests in a Bitbucket Cloud repository

Get Pull Request

Get a pull request by repository-scoped ID

Create Pull Request

Create a pull request between repository branches

Merge Pull Request

Start an asynchronous pull request merge and return a task to poll when needed

Get Pull Request Merge Task Status

Poll the status of an asynchronous pull request merge task

Decline Pull Request

Decline an open pull request

Approve Pull Request

Approve a pull request as the authenticated account

Request Pull Request Changes

Request changes on a pull request as the authenticated account

Get Pull Request Diff

Read a bounded UTF-8 unified diff for one pull request file

Get Pull Request Diffstat

List per-file change statistics for a pull request

List Pull Request Comments

List global, inline, and reply comments on a pull request

Create Pull Request Comment

Create a global comment or reply on a pull request

List Pull Request Commit Statuses

List commit statuses associated with a pull request

List Pipelines

List pipelines for a Bitbucket Cloud repository

Get Pipeline

Get a pipeline by UUID

Trigger Pipeline

Run the repository pipeline selected by a branch or ref target

Stop Pipeline

Stop a running pipeline

List Pipeline Steps

List the steps in a pipeline

Get Pipeline Step Log

Read a bounded UTF-8 tail of a pipeline step log

Frequently asked questions

Sim's Bitbucket integration adds 30 tools and 19 triggers to the AI agents you build in Sim's visual workflow builder. Work with Bitbucket Cloud repositories, pull requests, and pipelines.

Every agent your company runs. All in one place.