People working together around a table with laptops, notebooks and drinks, banner image on the Bitbucket: create pull requests, branches and comments, run pipelines, react to pushes, issues and reviews. page

Connector - Developer

Bitbucket: create pull requests, branches and comments, run pipelines, react to pushes, issues and reviews.

Atlassian's Git hosting - standard in Jira shops.

What Bitbucket can do

Starts when

  • A commit is pushed
  • A repository is forked, updated, transferred or deleted
  • A commit comment is added
  • A build status is created or updated
  • An issue is created, updated or commented on
  • A pull request is created, updated, approved, unapproved or merged
  • Changes are requested or removed on a pull request

Does

  • Create a pull request, update it, merge it or decline it
  • Approve a pull request, or request changes
  • Comment on a pull request or a commit
  • Create a task on a pull request
  • Create a branch or a tag
  • Create, update, fork or delete a repository
  • Create a commit by uploading a file
  • Run a pipeline
  • Create a build status for a commit
  • Create a webhook
  • Upload a download artifact

Finds

  • List and get pull requests, with their diffs, commits and activity
  • List commits, branches and tags
  • Get a repository, and list its forks
  • List pipelines
  • Get the root of the source tree

What it does

Ways teams use this connector.

Example 1

Pull requests link to their Jira ticket status in a daily digest.

Example 2

Merged branches trigger deployment playbooks.

Example 3

Repo size and stale-branch reports mail monthly.

How connecting works

Access: OAuth app password, repo scope. The setup guide lists the exact scopes, triggers and actions. You approve the access once; HiringsAI stores the token against your account, names the exact scopes it holds, and lets you disconnect from the same screen whenever you want. Source: official Bitbucket documentation.

1You approve onceOn Bitbucket’s own consent screen - OAuth or app password -repository scope.2The mechanism, exactlyrepository and repository:write scopes.3Token stored against your accountNothing reads or writes before you connect.4Disconnect anytimeFrom the same screen, whenever you want.How access works for this connector.

Free tools for this job

These free tools do part of the job in your browser, with no account: Git Commit Doctor · Code Converter · Weekly Report Compiler.

All connectors

How it works

PR digest. Sample repo (example).

StepEventWhat happens (example)
1PR #84 linked to PROJ-212Digest shows ticket status beside the PR
2Branch merged to mainDeployment playbook starts
3Branch untouched 60 daysListed as stale
4MonthlyRepo size and stale-branch report mailed

An example with sample numbers.

Bitbucket Cloud API limits

This field map explains request limits and scopes behind the Bitbucket connector. Each row names a value a run has to keep track of.

FieldMeaningHow to use it
anonymousLowest limitAnonymous requests get 60 requests per hour across all API resources. Logging in is required for a larger pool.
rolling hourWindowLimits use a one-hour rolling window for authenticated and unauthenticated requests.
repository dataDefault poolAccess to /2.0/repositories/* has a default limit of 1,000 requests per hour, with scaled limits available for qualifying callers.
scaled limitsSeat-basedWorkspace, project or repository access tokens, or a Forge app using asApp, get 10 more requests per hour per paid user beyond the first 100, capped at 10,000 per hour. 500 seats gives 1,000 + (500 - 100) x 10 = 5,000.
git operationsSeparate limitGit operations over HTTPS and SSH have a limit of 60,000 requests per hour.
archive filesSeparate limitArchives (zip, gz and so on) are limited to 1,500 files per hour.
webhook dataSeparate limitListing, adding and removing webhooks is limited to 1,000 per hour.
scopesAccess controlEndpoints require scopes. The repository scope gives read access to repositories the user can reach but not to pull requests. A descriptor with no scopes is treated as requiring all of them.

Example Bitbucket tasks

Each example turns one use into inputs, expected results and checks. They show how the connector behaves.

List repositories for a workspace

Example input: a workspace with 300 repositories and an access token, no scaled limit.

Expected result: paged calls well under 1,000 an hour, with the response headers read each time.

Check: the default for repository data is 1,000 per hour, so a run that also reads commits for each repository must count those requests too.

Work out the scaled limit before relying on it

Example input: a workspace on a plan with 250 paid users and a repository access token.

Expected result: a planning figure of 1,000 + (250 - 100) x 10 = 2,500 requests per hour.

Check: Bitbucket’s own example computes 500 seats as 5,000, and the figure only applies to access tokens or Forge asApp, not to a person’s own login.

Stop before deleting a webhook

Example input: a request to remove a webhook.

Expected result: the run names the webhook and the repository, and removes it after a yes.

Check: webhook changes share a 1,000-per-hour limit, and removing one changes what a repository notifies.

Hourly windows, scopes and access tokens

Bitbucket asks apps to request only the scopes they need. The connector uses workspace, project or repository access tokens for the scaled limits, and OAuth scopes for a user’s own access.

Published limits: 60 anonymous requests an hour, 1,000 an hour by default for repository data, up to 10,000 with seats, 60,000 for git operations. Bitbucket says limits are not part of the API contract and can change, even dynamically, so a 429 is final.

Merging, deleting a branch or changing permissions changes shared code. A run that does so waits for approval first.

Sources: API request limits, REST API scopes.

Questions about this connector

Can I connect Bitbucket?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does Bitbucket sign-in work?

OAuth app password, repo scope. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Bitbucket: create pull requests, branches and comments, run pipelines, react to pushes, issues and reviews. page

Find the connector you need.

Every connector page lists what it can do.

Starts whenDoesFindsA sample runA commit is pushedA repository is forked, updated, transferred or deletedA commit comment is addedA build status is created or updatedAn issue is created, updated or commented onA pull request is created, updated, approved, unapproved or mergedCreate a pull request, update it, merge it or decline itApprove a pull request, or request changesComment on a pull request or a commitCreate a task on a pull requestStarts whenDoesFindsA sample runA commit is pushedA repository is forked, updated, transferred or deletedA commit comment is addedA build status is created or updatedAn issue is created, updated or commented onA pull request is created, updated, approved, unapproved or mergedCreate a pull request, update it, merge it or decline itApprove a pull request, or request changesComment on a pull request or a commitCreate a task on a pull request
01

What Bitbucket can do

This page lists what the Bitbucket connector can start from, do and find. Each section below takes one part and shows it step by step, from the connector's own feature list.

Starts when7 ways to start a run, such as: A commit is pushed.
Does11 actions, such as: Create a pull request, update it, merge it or decline it.
Finds5 lookups, such as: List and get pull requests, with their diffs, commits and activity.
A sample runPR digest.
02

What starts a run in Bitbucket

These are the events in Bitbucket that can start a playbook.

A commit is pushedStarts a run in Bitbucket.
A repository is forked, updated, transferred or deletedStarts a run in Bitbucket.
A commit comment is addedStarts a run in Bitbucket.
A build status is created or updatedStarts a run in Bitbucket.
An issue is created, updated or commented onStarts a run in Bitbucket.
A pull request is created, updated, approved, unapproved or mergedStarts a run in Bitbucket.
03

What a run can do in Bitbucket

These are the actions a run can take in Bitbucket.

Create a pull request, update it, merge it or decline itAn action a run can take in Bitbucket.
Approve a pull request, or request changesAn action a run can take in Bitbucket.
Comment on a pull request or a commitAn action a run can take in Bitbucket.
Create a task on a pull requestAn action a run can take in Bitbucket.
Create a branch or a tagAn action a run can take in Bitbucket.
Create, update, fork or delete a repositoryAn action a run can take in Bitbucket.
04

What a run can do in Bitbucket (more)

These are the actions a run can take in Bitbucket.

Create a commit by uploading a fileAn action a run can take in Bitbucket.
Run a pipelineAn action a run can take in Bitbucket.
Create a build status for a commitAn action a run can take in Bitbucket.
Create a webhookAn action a run can take in Bitbucket.
Upload a download artifactAn action a run can take in Bitbucket.
05

What a run can find in Bitbucket

These lookups let a run read before it changes anything in Bitbucket.

List and get pull requests, with their diffs, commits and activityA lookup a run can make in Bitbucket.
List commits, branches and tagsA lookup a run can make in Bitbucket.
Get a repository, and list its forksA lookup a run can make in Bitbucket.
List pipelinesA lookup a run can make in Bitbucket.
Get the root of the source treeA lookup a run can make in Bitbucket.
06

A sample run, step by step

PR digest. The numbers are made up to show the shape of a run.

PR #84 linked to PROJ-212Digest shows ticket status beside the PR
Branch merged to mainDeployment playbook starts
Branch untouched 60 daysListed as stale
MonthlyRepo size and stale-branch report mailed
Sample run (example data)
StepEventWhat happens (example)
1PR #84 linked to PROJ-212Digest shows ticket status beside the PR
2Branch merged to mainDeployment playbook starts
3Branch untouched 60 daysListed as stale
4MonthlyRepo size and stale-branch report mailed
  1. Step 1PR #84 linked to PROJ-212: Digest shows ticket status beside the PR
  2. Step 2Branch merged to main: Deployment playbook starts
  3. Step 3Branch untouched 60 days: Listed as stale
  4. Step 4Monthly: Repo size and stale-branch report mailed
07

Bitbucket Cloud API limits

This field map explains request limits and scopes behind the Bitbucket connector. Each row names a value a run has to keep track of.

anonymousLowest limit: Anonymous requests get 60 requests per hour across all API resources.
rolling hourWindow: Limits use a one-hour rolling window for authenticated and unauthenticated requests.
repository dataDefault pool: Access to /2.0/repositories/* has a default limit of 1,000 requests per hour, with scaled limits available for qualifying callers.
scaled limitsSeat-based: Workspace, project or repository access tokens, or a Forge app using asApp, get 10 more requests per hour per paid user beyond the first.
git operationsSeparate limit: Git operations over HTTPS and SSH have a limit of 60,000 requests per hour.
archive filesSeparate limit: Archives (zip, gz and so on) are limited to 1,500 files per hour.
Bitbucket Cloud API limits
FieldMeaningHow to use it
anonymousLowest limitAnonymous requests get 60 requests per hour across all API resources. Logging in is required for a larger pool.
rolling hourWindowLimits use a one-hour rolling window for authenticated and unauthenticated requests.
repository dataDefault poolAccess to /2.0/repositories/* has a default limit of 1,000 requests per hour, with scaled limits available for qualifying callers.
scaled limitsSeat-basedWorkspace, project or repository access tokens, or a Forge app using asApp, get 10 more requests per hour per paid user beyond the first 100, capped at 10,000 per hour. 500 seats gives 1,000 + (500 - 100) x 10 = 5,000.
git operationsSeparate limitGit operations over HTTPS and SSH have a limit of 60,000 requests per hour.
archive filesSeparate limitArchives (zip, gz and so on) are limited to 1,500 files per hour.
webhook dataSeparate limitListing, adding and removing webhooks is limited to 1,000 per hour.
scopesAccess controlEndpoints require scopes. The repository scope gives read access to repositories the user can reach but not to pull requests. A descriptor with no scopes is treated as requiring all of them.
08

List repositories for a workspace

Example input: a workspace with 300 repositories and an access token, no scaled limit.

Expected resultpaged calls well under 1,000 an hour, with the response headers read each time.
Checkthe default for repository data is 1,000 per hour, so a run that also reads commits for each repository must count those requests too.
Inputa workspace with 300 repositories and an access token, no scaled limit.
  1. InputExample input: a workspace with 300 repositories and an access token, no scaled limit.
  2. Expected resultExpected result: paged calls well under 1,000 an hour, with the response headers read each time.
  3. CheckCheck: the default for repository data is 1,000 per hour, so a run that also reads commits for each repository must count those requests too.
09

Work out the scaled limit before relying on it

Example input: a workspace on a plan with 250 paid users and a repository access token.

Expected resulta planning figure of 1,000 + (250 - 100) x 10 = 2,500 requests per hour.
CheckBitbucket’s own example computes 500 seats as 5,000, and the figure only applies to access tokens or Forge asApp, not to a person’s own login.
Inputa workspace on a plan with 250 paid users and a repository access token.
  1. InputExample input: a workspace on a plan with 250 paid users and a repository access token.
  2. Expected resultExpected result: a planning figure of 1,000 + (250 - 100) x 10 = 2,500 requests per hour.
  3. CheckCheck: Bitbucket’s own example computes 500 seats as 5,000, and the figure only applies to access tokens or Forge asApp, not to a person’s own login.
10

Stop before deleting a webhook

Example input: a request to remove a webhook.

Expected resultthe run names the webhook and the repository, and removes it after a yes.
Checkwebhook changes share a 1,000-per-hour limit, and removing one changes what a repository notifies.
Inputa request to remove a webhook.
  1. InputExample input: a request to remove a webhook.
  2. Expected resultExpected result: the run names the webhook and the repository, and removes it after a yes.
  3. CheckCheck: webhook changes share a 1,000-per-hour limit, and removing one changes what a repository notifies.
11

Hourly windows, scopes and access tokens

Bitbucket asks apps to request only the scopes they need. The connector uses workspace, project or repository access tokens for the scaled limits, and OAuth scopes for a user’s own access.

Published limitsPublished limits: 60 anonymous requests an hour, 1,000 an hour by default for repository data, up to 10,000 with seats, 60,000 for git operations.
MergingMerging, deleting a branch or changing permissions changes shared code.
SourcesSources: API request limits, REST API scopes.
12

How connecting works

Access: OAuth app password, repo scope. The setup guide lists the exact scopes, triggers and actions. You approve the access once; HiringsAI stores the token against your account, names the exact scopes it holds, and lets you disconnect from the same screen whenever you want. Source: official Bitbucket documentation.

Can I connect Bitbucket?Yes.
How does Bitbucket sign-in work?OAuth app password, repo scope.
What does it read and write?No.
13

Free tools for this job

These free tools do part of the job in your browser, with no account.

Git Commit DoctorOpens in your browser, no account.
Code ConverterOpens in your browser, no account.
Weekly Report CompilerOpens in your browser, no account.
14

Ways teams use Bitbucket

The uses this page lists for the Bitbucket connector, one per example.

Example 1Pull requests link to their Jira ticket status in a daily digest.
Example 2Merged branches trigger deployment playbooks.
Example 3Repo size and stale-branch reports mail monthly.
  1. Use 1Pull requests link to their Jira ticket status in a daily digest.
  2. Use 2Merged branches trigger deployment playbooks.
  3. Use 3Repo size and stale-branch reports mail monthly.
15

Questions about Bitbucket

The questions this page answers about the Bitbucket connector.

Can I connect Bitbucket?Yes.
How does Bitbucket sign-in work?OAuth app password, repo scope.
What does it read and write?No.
Can I connect Bitbucket?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does Bitbucket sign-in work?

OAuth app password, repo scope. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

16

Bitbucket: start, act, look up

A short list that puts one part of each kind side by side, so you can see how a run reads and writes in Bitbucket.

StartA commit is pushed
StartA repository is forked, updated, transferred or deleted
StartA commit comment is added
ActionCreate a pull request, update it, merge it or decline it
Start, act, look up in Bitbucket
KindWhat it does
StartA commit is pushed
StartA repository is forked, updated, transferred or deleted
StartA commit comment is added
ActionCreate a pull request, update it, merge it or decline it
ActionApprove a pull request, or request changes
ActionComment on a pull request or a commit
LookupList and get pull requests, with their diffs, commits and activity
LookupList commits, branches and tags
  1. StartA commit is pushed
  2. StartA repository is forked, updated, transferred or deleted
  3. StartA commit comment is added
  4. ActionCreate a pull request, update it, merge it or decline it
17

Where to go next from Bitbucket

These pages on this site help you check the details around the Bitbucket connector before you build a playbook.

ConnectorsBrowse every connector and compare what each can start, do and find.
PricingSee what each plan includes.
TrustRead how data, access and security are handled.
ToolsTry the free tools that run in your browser.
  1. BrowseOpen the connectors list.
  2. CheckRead the pricing page.
  3. VerifyRead the trust page.
  4. TryOpen a free tool.

Back to Bitbucket

Pick another connector or read this one again.

Bitbucket connectorAll connectors