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.
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.
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.
Everything Bitbucket can do, in one place.
01 / What Bitbucket can do
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.
Events that start a run.
02 / What starts 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.
Actions a run can take.
03 / What a run can do 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)| Step | Event | What happens (example) |
|---|
| 1 | PR #84 linked to PROJ-212 | Digest shows ticket status beside the PR |
|---|
| 2 | Branch merged to main | Deployment playbook starts |
|---|
| 3 | Branch untouched 60 days | Listed as stale |
|---|
| 4 | Monthly | Repo size and stale-branch report mailed |
|---|
- Step 1PR #84 linked to PROJ-212: Digest shows ticket status beside the PR
- Step 2Branch merged to main: Deployment playbook starts
- Step 3Branch untouched 60 days: Listed as stale
- Step 4Monthly: Repo size and stale-branch report mailed
A sample run, in four steps.
06 / A sample run, step by step
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| Field | Meaning | How to use it |
|---|
| anonymous | Lowest limit | Anonymous requests get 60 requests per hour across all API resources. Logging in is required for a larger pool. |
|---|
| rolling hour | Window | Limits use a one-hour rolling window for authenticated and unauthenticated requests. |
|---|
| repository data | Default pool | Access to /2.0/repositories/* has a default limit of 1,000 requests per hour, with scaled limits available for qualifying callers. |
|---|
| scaled limits | Seat-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 100, capped at 10,000 per hour. 500 seats gives 1,000 + (500 - 100) x 10 = 5,000. |
|---|
| git operations | Separate limit | Git operations over HTTPS and SSH have a limit of 60,000 requests per hour. |
|---|
| archive files | Separate limit | Archives (zip, gz and so on) are limited to 1,500 files per hour. |
|---|
| webhook data | Separate limit | Listing, adding and removing webhooks is limited to 1,000 per hour. |
|---|
| scopes | Access control | Endpoints 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. |
|---|
How the connector keeps its data.
07 / Bitbucket Cloud API limits
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.
- InputExample input: a workspace with 300 repositories and an access token, no scaled limit.
- Expected resultExpected result: paged calls well under 1,000 an hour, with the response headers read each time.
- 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.
Input, expected result, check.
08 / List repositories for a workspace
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.
- InputExample input: a workspace on a plan with 250 paid users and a repository access token.
- Expected resultExpected result: a planning figure of 1,000 + (250 - 100) x 10 = 2,500 requests per hour.
- 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.
Input, expected result, check.
09 / Work out the scaled limit before relying
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.
- InputExample input: a request to remove a webhook.
- Expected resultExpected result: the run names the webhook and the repository, and removes it after a yes.
- CheckCheck: webhook changes share a 1,000-per-hour limit, and removing one changes what a repository notifies.
Input, expected result, check.
10 / Stop before deleting a webhook
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.
Access and limits.
11 / Hourly windows, scopes and access tokens
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.
Free tools, no account.
13 / Free tools for this job
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.
- Use 1Pull requests link to their Jira ticket status in a daily digest.
- Use 2Merged branches trigger deployment playbooks.
- Use 3Repo size and stale-branch reports mail monthly.
Ways teams use it.
14 / Ways teams use Bitbucket
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| Kind | What it does |
|---|
| Start | A commit is pushed |
|---|
| Start | A repository is forked, updated, transferred or deleted |
|---|
| Start | A commit comment is added |
|---|
| Action | Create a pull request, update it, merge it or decline it |
|---|
| Action | Approve a pull request, or request changes |
|---|
| Action | Comment on a pull request or a commit |
|---|
| Lookup | List and get pull requests, with their diffs, commits and activity |
|---|
| Lookup | List commits, branches and tags |
|---|
- 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 and look up, side by side.
16 / Bitbucket: start, act, look up
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.
- BrowseOpen the connectors list.
- CheckRead the pricing page.
- VerifyRead the trust page.
- TryOpen a free tool.
Where to read next.
17 / Where to go next from Bitbucket