Bitbucket

Git operations that happen through conversation

Developers should not break flow to create branches or file issues. Your AI agent manages Bitbucket repositories, creates pull requests, and tracks issues directly from Slack or your dev tools. Code collaboration accelerates when Git operations happen conversationally.

Chosen by 800+ global brands across industries

Code collaboration on autopilot

From repository creation to code reviews, your AI agent automates Bitbucket operations that power development workflows.

Bitbucket

Use Cases

Development workflows streamlined

See how development teams use AI agents with Bitbucket to manage repositories, coordinate reviews, and track issues without leaving their tools.

Pull Request Creation After Code Complete

A developer finishes a feature and messages that the branch is ready for review. Your AI Agent creates a pull request in Bitbucket via the Create Pull Request endpoint, specifying source branch, destination, title, and description. The developer moves from coding to code review in one message instead of navigating the Bitbucket UI.

Issue Tracking from Team Chat

QA discovers a bug and reports it in the team Slack channel. Your AI Agent creates an issue in Bitbucket via the Create Issue endpoint with title, description, priority, and component. The bug is tracked in the repository without anyone leaving the conversation to file it manually.

Repository Setup for New Projects

A tech lead announces a new service that needs a repository. Your AI Agent creates the repository in Bitbucket via the Create Repository endpoint, configuring project association, privacy settings, and default branch. The new repo is ready for commits before the kickoff meeting ends.

Try
Bitbucket

Bitbucket

FAQs

Frequently Asked Questions

How does the AI agent create pull requests in Bitbucket?

The agent uses Bitbucket's Create Pull Request endpoint with source branch, destination branch, title, description, and optional reviewers. It validates that the source branch exists and differs from the destination. The PR appears in Bitbucket ready for review.

Can the agent manage branches across multiple repositories?

Yes. The agent creates branches via the Create Branch endpoint, specifying workspace, repository slug, branch name, and target commit hash. It can work across any repository your Bitbucket credentials have access to.

What Bitbucket permissions does Tars need?

Tars uses OAuth 2.0 authentication with scopes for repository, pullrequest:write, issue:write, and related permissions. The exact scopes depend on which operations you enable. We request only necessary permissions and you can revoke access anytime.

Does Tars store Bitbucket repository data?

No. Tars interacts with Bitbucket APIs in real-time. Repository metadata, file contents, and issue details are fetched or created live. Your source code and repository data remain exclusively in Bitbucket.

Can the agent add comments to pull requests?

Yes. The agent supports creating comments on issues, pull requests, and code snippets using Bitbucket's comment endpoints. Teams can coordinate code reviews through conversation.

How is this different from Bitbucket's Slack integration?

Bitbucket's Slack integration sends notifications. Tars AI Agents take actions, creating PRs, filing issues, and managing repositories from chat. The agent understands context like 'Create a PR for my feature branch' and executes the operation.

Does this work with Bitbucket Server (self-hosted)?

The integration uses Bitbucket Cloud's REST API. Self-hosted Bitbucket Server has a different API and requires separate configuration. Contact us for enterprise self-hosted setups.

Can the agent retrieve code from private repositories?

Yes. The agent accesses any repository your authenticated Bitbucket account can access, including private repos. It retrieves file contents at specified commits or branches using the Get File From Repository endpoint.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo