Bitbucket AI Employee

Leina connects to Bitbucket to help you summarize pull requests and check pipeline runs. Ask in your team chat. Leina does the work and brings back the result.

Connect Bitbucket, choose what to share, and hand off your first task.

Leina + Bitbucket Example Result

You

Summarize the checkout pull request and its comments. What still needs an answer?

Leina

The pull request is open, with two discussion points still needing clarification.

Bitbucket · Example

Checkout change · Review brief

Open questions before the next review.

Scope
Update the checkout error message.
Discussion
Clarify the retry wording and empty-cart behavior.
Bring unanswered review questions into the next discussion.

What Is a Bitbucket AI Agent?

Ask a Bitbucket AI agent to review pull-request discussions and pipeline results so you can see what is waiting on review or a build.

You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.

Bitbucket

Bitbucket hosts Git repositories and team development workflows.

  1. Select the pull request

    Provide the repository and pull request.

  2. Read the discussion

    Review its details and comments.

  3. Prepare the review brief

    List open questions and the current review state.

What to Ask Leina to Do with Bitbucket

Copy a prompt, add your details, and send it to Leina in your connected team chat.

Summarize a Pull Request Discussion

Read pull request [number] and its comments in Bitbucket repository [workspace/repository]. Summarize its purpose, current state, and questions needing a response.

bitbucket

Inspect Pipeline Runs

Review pipelines in Bitbucket repository [workspace/repository], then inspect run [run]. Summarize its outcome and available timing details.

bitbucket

Your next Bitbucket task can start with a message.

Connect. Ask. Get the Result.

Tell Leina what you need in your team chat. Include the source, destination, and expected result.

  1. Connect Your Account

    Connect the tools involved and give Leina access to the content it needs.

  2. Try a Task

    Share the source material, say where the result belongs, and describe what you need.

  3. Check the Result

    Review the result and any changes in the connected app.

Put Leina to Work in Bitbucket

Hand off these everyday tasks to your AI employee.

Get Current User

Get the currently authenticated Bitbucket user.

List Workspaces

List workspaces available to the authenticated Bitbucket user.

Get Workspace

Get a Bitbucket workspace by slug or UUID.

List Workspace Members

List members of a Bitbucket workspace.

List Workspace Projects

List projects in a Bitbucket workspace.

List Repositories

List repositories in a Bitbucket workspace.

Get Repository

Get a Bitbucket repository by workspace and repository slug or UUID.

Delete Repository

Permanently delete a Bitbucket repository.

List Branches

List branches in a Bitbucket repository.

Get Branch

Get a branch in a Bitbucket repository.

Create Branch

Create a branch from a commit hash or existing revision in a Bitbucket repository.

Delete Branch

Delete a branch from a Bitbucket repository.

List Tags

List tags in a Bitbucket repository.

List Commits

List commits in a Bitbucket repository, optionally starting from a revision.

Get Commit

Get a commit from a Bitbucket repository.

List Pull Requests

List pull requests in a Bitbucket repository.

Get Pull Request

Get a pull request from a Bitbucket repository.

Create Pull Request

Create a pull request in a Bitbucket repository.

Merge Pull Request

Merge a Bitbucket pull request.

Get Pull Request Merge Task Status

Get the status of an asynchronous Bitbucket pull request merge task.

Decline Pull Request

Decline a Bitbucket pull request.

Approve Pull Request

Approve a Bitbucket pull request.

List Pull Request Comments

List comments on a Bitbucket pull request.

Create Pull Request Comment

Create a comment on a Bitbucket pull request.

List Issues

List issues in a repository that still supports the deprecated Bitbucket issue tracker.

Get Issue

Get an issue from a repository that still supports the deprecated Bitbucket issue tracker.

Create Issue

Create an issue in a repository that still supports the deprecated Bitbucket issue tracker.

Update Issue

Update an issue in a repository that still supports the deprecated Bitbucket issue tracker.

List Issue Comments

List issue comments in a repository that still supports the deprecated Bitbucket issue tracker.

Create Issue Comment

Create an issue comment in a repository that still supports the deprecated Bitbucket issue tracker.

List Snippets

List snippets owned by or visible through a Bitbucket workspace.

Get Snippet

Get a Bitbucket snippet by workspace and encoded snippet ID.

List Pipelines

List Pipelines runs for a Bitbucket repository.

Get Pipeline

Get a Pipelines run from a Bitbucket repository.

Run Pipeline

Trigger a Bitbucket Pipelines run for a branch, tag, or commit.

Stop Pipeline

Stop a running Bitbucket pipeline.

List Pipeline Variables

List repository-level Bitbucket Pipelines variables.

Create Pipeline Variable

Create a repository-level Bitbucket Pipelines variable.

Update Pipeline Variable

Replace a repository-level Bitbucket Pipelines variable.

Delete Pipeline Variable

Delete a repository-level Bitbucket Pipelines variable.

List Repository Runners

List Pipelines runners configured for a Bitbucket repository.

More Tools for Your AI Employee

Connect the Apps your work depends on, and give Leina the context to carry the task forward.

Keep the Conversation Moving. Let Leina Pick Up the Work.

Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.

See How Leina Works in Slack
LeinaExample Result

The pull request is open, with two discussion points still needing clarification.

Checkout change · Review brief

Bitbucket + Leina: Your Questions, Answered

Does this review include the code diff?

These operations read pull-request details and comments, not the code diff or repository files.

Can I inspect a specific build?

Yes. Supply the repository and pipeline run you want reviewed.

Make Leina Your Bitbucket AI Employee

Start with one task you already need to do. Tell Leina what a finished result should look like.

Connect Bitbucket, choose what to share, and hand off your first task.