Automate Bitbucket
HumDay reads Bitbucket’s own published API description and derives 292 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What Bitbucket is
Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
API host: api.bitbucket.org
Things people automate with Bitbucket
- Post new Bitbucket issues and pull requests to SlackBitbucket → Slack
- Post new Bitbucket issues and pull requests to TelegramBitbucket → Telegram
- Post new Bitbucket issues and pull requests to Google ChatBitbucket → Google Chat
- Create an Asana task for every new Bitbucket issueBitbucket → Asana
- Create a Jira task for every new Bitbucket issueBitbucket → Jira
- Create a Google Tasks task for every new Bitbucket issueBitbucket → Google Tasks
What HumDay can do in Bitbucket
133 documented operations change something in Bitbucket. The 47 most useful are listed here.
- POSTAdd a new SSH key
/users/{selected_user}/ssh-keys - POSTCreate a snippet
/snippets - POSTCreate a comment on a snippet
/snippets/{workspace}/{encoded_id}/comments - POSTCreate an issue
/repositories/{workspace}/{repo_slug}/issues - POSTCreate a webhook for a workspace
/workspaces/{workspace}/hooks - POSTCreate a comment on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments - POSTCreate a snippet for a workspace
/snippets/{workspace} - DELETEDelete an app
/addon - PUTUpdate an installed app
/addon - POSTCreate a commit by uploading a file
/repositories/{workspace}/{repo_slug}/src - POSTCreate a webhook for a repository
/repositories/{workspace}/{repo_slug}/hooks - DELETEDelete a comment on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} - PUTUpdate a comment on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} - POSTCreate comment for a commit
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments - POSTCreate a project in a workspace
/workspaces/{workspace}/projects - POSTUpload an attachment to an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments - POSTExport issues
/repositories/{workspace}/{repo_slug}/issues/export - POSTImport issues
/repositories/{workspace}/{repo_slug}/issues/import - POSTCreate a comment on a pull request
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments - POSTCreate a repository
/repositories/{workspace}/{repo_slug} - POSTCreate a linker value
/addon/linkers/{linker_key}/values - POSTCreate a schedule
/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/ - DELETEDelete an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id} - PUTUpdate an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id} - DELETEDelete a comment on a snippet
/snippets/{workspace}/{encoded_id}/comments/{comment_id} - PUTUpdate a comment on a snippet
/snippets/{workspace}/{encoded_id}/comments/{comment_id} - DELETEDelete a user application property
/users/{selected_user}/properties/{app_key}/{property_name} - PUTUpdate a user application property
/users/{selected_user}/properties/{app_key}/{property_name} - DELETEDelete a webhook for a workspace
/workspaces/{workspace}/hooks/{uid} - PUTUpdate a webhook for a workspace
/workspaces/{workspace}/hooks/{uid} - POSTCreate a variable for a workspace
/workspaces/{workspace}/pipelines-config/variables - DELETEDelete a SSH key
/users/{selected_user}/ssh-keys/{key_id} - PUTUpdate a SSH key
/users/{selected_user}/ssh-keys/{key_id} - POSTList commits with include/exclude
/repositories/{workspace}/{repo_slug}/commits - POSTUpload a download artifact
/repositories/{workspace}/{repo_slug}/downloads - PUTAdd a user to the default reviewers
/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} - POSTAdd a repository deploy key
/repositories/{workspace}/{repo_slug}/deploy-keys - POSTCreate a pull request
/repositories/{workspace}/{repo_slug}/pullrequests - POSTCreate an environment
/repositories/{workspace}/{repo_slug}/environments/ - DELETERemove vote for an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote - PUTVote for an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote - DELETEStop watching an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch - PUTWatch an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch - POSTCreate a branch restriction rule
/repositories/{workspace}/{repo_slug}/branch-restrictions - POSTModify the state of an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes - POSTCreate a tag
/repositories/{workspace}/{repo_slug}/refs/tags - POSTCreate a branch
/repositories/{workspace}/{repo_slug}/refs/branches
What HumDay can read from Bitbucket
These are the operations a schedule or a trigger can watch.
- GETList email addresses for current user
/user/emails - GETGet an email address for current user
/user/emails/{email} - GETGet current user
/user - GETList workspaces for user
/workspaces - GETSearch for code in a user's repositories
/users/{selected_user}/search/code - GETGet a user
/users/{selected_user} - GETList subscribable webhook types
/hook_events/{subject_type} - GETList pull requests for a user
/pullrequests/{selected_user} - GETList workspaces for the current user
/user/permissions/workspaces - GETList snippets
/snippets - GETList repository permissions for a user
/user/permissions/repositories - GETGet a webhook resource
/hook_events - GETList public repositories
/repositories - GETList issues
/repositories/{workspace}/{repo_slug}/issues - GETList defined versions for issues
/repositories/{workspace}/{repo_slug}/versions - GETList SSH keys
/users/{selected_user}/ssh-keys - GETList users in a workspace
/workspaces/{workspace}/members - GETList comments on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments - GETList user permissions in a workspace
/workspaces/{workspace}/permissions - GETList linkers for an app
/addon/linkers - GETList explicit user permissions for a repository
/repositories/{workspace}/{repo_slug}/permissions-config/users - GETList snippets in a workspace
/snippets/{workspace} - GETList repositories in a workspace
/repositories/{workspace} - GETList comments on a snippet
/snippets/{workspace}/{encoded_id}/comments - GETGet a comment on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} - GETList components
/repositories/{workspace}/{repo_slug}/components - GETList milestones
/repositories/{workspace}/{repo_slug}/milestones - GETList webhooks for a workspace
/workspaces/{workspace}/hooks - GETCheck if current user voted for an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote - GETCheck if current user is watching a issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch - GETList projects in a workspace
/workspaces/{workspace}/projects - GETList changes on an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes - GETList attachments for an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments - GETCheck issue import status
/repositories/{workspace}/{repo_slug}/issues/import - GETSearch for code in a team's repositories
/teams/{username}/search/code - GETList linker values for a linker
/addon/linkers/{linker_key}/values - GETSearch for code in a workspace
/workspaces/{workspace}/search/code - GETGet a snippet's raw file at HEAD
/snippets/{workspace}/{encoded_id}/files/{path} - GETGet a workspace
/workspaces/{workspace} - GETGet an issue
/repositories/{workspace}/{repo_slug}/issues/{issue_id} - GETGet a comment on a snippet
/snippets/{workspace}/{encoded_id}/comments/{comment_id} - GETList all repository permissions for a workspace
/workspaces/{workspace}/permissions/repositories - GETGet a defined version for issues
/repositories/{workspace}/{repo_slug}/versions/{version_id} - GETGet a user application property
/users/{selected_user}/properties/{app_key}/{property_name} - GETGet a webhook for a workspace
/workspaces/{workspace}/hooks/{uid} - GETList variables for a workspace
/workspaces/{workspace}/pipelines-config/variables - GETGet a component for issues
/repositories/{workspace}/{repo_slug}/components/{component_id} - GETCheck if the current user is watching a snippet
/snippets/{workspace}/{encoded_id}/watch - GETGet a SSH key
/users/{selected_user}/ssh-keys/{key_id} - GETGet user membership for a workspace
/workspaces/{workspace}/members/{member} - GETList branches and tags
/repositories/{workspace}/{repo_slug}/refs - GETList snippet changes
/snippets/{workspace}/{encoded_id}/commits - GETList repository forks
/repositories/{workspace}/{repo_slug}/forks
How automating Bitbucket works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live Bitbucket account.
- Grant access, then go live. You approve the specific Bitbucket operations it may use — and only those.
Popular Bitbucket integrations
Connect Bitbucket to the tools people pair it with most.
- Bitbucket and OData for namespace microsoft.graphintegration
- Bitbucket and Cloudflareintegration
- Bitbucket and NetBoxintegration
- Bitbucket and GitHubintegration
- Bitbucket and Mistintegration
- Bitbucket and Loket.nlintegration
- Bitbucket and Atlassian The Jira Cloud platformintegration
- Bitbucket and Magento B2Bintegration
- Bitbucket and Stripeintegration
- Bitbucket and Zuora Reference Billingintegration
- Bitbucket and bunqintegration
- Bitbucket and DocuSignintegration
Automate Bitbucket with these
- OData for namespace microsoft.graph11412 operations
- GitHub811 operations
- Atlassian The Jira Cloud platform474 operations
- Gitlab358 operations
- JIRA 7.6.1324 operations
- Appcenter App Center Client323 operations
- Gitea .321 operations
- Keycloak Admin281 operations
- Apple App Store Connect251 operations
- Files.com222 operations
- Vmware vRealize Network Insight Reference161 operations
- Visualstudio VSOnline152 operations
Categories
Questions about Bitbucket automation
- Can HumDay connect to Bitbucket?
- Yes. HumDay reads Bitbucket's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 292 operations are documented.
- Do I need to write code to automate Bitbucket?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your Bitbucket account.
- What can HumDay do in Bitbucket?
- 133 of the 292 documented operations change something in Bitbucket, and 159 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my Bitbucket account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to Bitbucket is held behind that approval.
Where this came from
The operations above are read from a published API description for Bitbucket at bitbucket.org/api/swagger.json. Descriptions are the provider’s own words, not ours. Last published 2023-03-06.