SeamTrailSeamTrail

Bitbucket

Pull requests, merges and pushes. Ticket progress and the deploy gate work like they do with GitHub.

Early access

This connector is new. Some parts are still coming (listed below). If you can't connect it yet, ask us to switch it on: team@sharbuz.com.

What SeamTrail reads

  • Pull requests: when they are opened and merged.
  • Pushes.
  • Ticket numbers in branch names, titles and descriptions. They link a pull request to its tickets.

So ticket progress (merged to dev, on stage, in prod) and the deploy gate work for Bitbucket, like for GitHub.

How changes arrive

  • Webhook, set on each repository. It sends pushes, and pull requests when they are created, updated, reviewed, commented and merged.
  • SeamTrail adds it to a repository itself when you turn Pull request status on for it, signed with your division's own secret. If it cannot, you paste it by hand. See Set it up on Bitbucket. A delivery without the secret is ignored.

Pull request status

With Pull request status on for a repo, SeamTrail writes a build status named SeamTrail on each pull request, and a SeamTrail report beside it (Code Insights) with every reason: ready, or not ready and why. Bitbucket's merge checks can require the build status. See Pull request status.

Permissions

PermissionWhy SeamTrail asks for it
Account: readKnow which Bitbucket workspace you connected.
Repositories: read and writeRead your repositories. Write is used only for the SeamTrail build status on a pull request.
Pull requests: read and writeRead pull requests. Write is used only for SeamTrail's comment when a pull request is not ready.
Webhooks: read and writeAdd SeamTrail's webhook to a repository when you turn Pull request status on for it.

Connect

  1. Open your division's Settings → Tools.
  2. Next to Bitbucket, click Connect. (Division Admins and Managers.)
  3. Approve SeamTrail in Bitbucket.
  4. Set up the repository webhooks (see above).

SeamTrail connects the first workspace of the Bitbucket account that approves. Connect with an account whose first workspace is the one you mean.

Linking a Bitbucket repo to a project needs a division Admin or Manager.

A team adds a Bitbucket repository in its Settings → Shipping → Add repository: SeamTrail lists the repositories of the connected workspace to pick from.

Coming soon

  • Reading pull request comments.

On this page