# Ray and Bitbucket

> The same review work, in Bitbucket, with the pipeline state alongside it.

Source: https://heyray.io/integrations/bitbucket

Ray is an AI teammate that works in your team chat, on Slack today. Connect Bitbucket and it can do the Bitbucket part of a request without anyone leaving the conversation: read what it needs, draft the change, and post it for approval before anything is written. 28 reads run without asking. 6 actions wait for a human approval.

## What Ray reads in Bitbucket

Reading changes nothing, so Ray never stops to ask whether it may look something up.

- Pull requests, their diffs, comments, and review activity
- Issues, commits, branches, and repository files
- Pipelines, deployments, and commit statuses

## What waits for your approval

Every one of these posts an approval card in the thread showing exactly what is about to happen. Nothing runs until someone clicks approve, and no setting turns that off.

- File an issue
- Update an issue
- Open a pull request
- Update a pull request
- Comment on an issue or a pull request

## Things Ray is never handed

These are left out during curation, so they are not something Ray could do and decides against. They are not in front of it at all.

- Merge a pull request
- Create a branch, a commit, or a repository
- Delete an issue, a comment, or a repository
- Change pipeline configuration variables

## Ask it like this

- "@Ray what is still open on the payments pull request?"
- "@Ray open a pull request from the fix branch and describe what changed."
- "@Ray which pull requests have been waiting on review since last week?"
- "@Ray comment on that pull request asking for a test on the null case."

## Connecting Bitbucket

Every person on the team connects their own Bitbucket account on Bitbucket's own login screen, so Ray can only reach what that person can already reach, and the history in Bitbucket shows who actually asked. Passwords never pass through Ray. Disconnecting Bitbucket or uninstalling Ray revokes the connection.

## More

- This page for people: https://heyray.io/integrations/bitbucket
- Every integration: https://heyray.io/integrations.md
- Install Ray: https://heyray.io/install.md
- Pricing: https://heyray.io/pricing.md
