Bitbucket
Bitbucket is a Git-based source code repository hosting service from Atlassian that provides version control, pull requests, and CI/CD pipelines. Manage repositories, automate code reviews, track issues, and orchestrate deployments.
Example Use Cases
Repository Provisioning
Automatically create new Bitbucket repositories when projects start, configure branch permissions, set up default reviewers, and establish repository settings for consistent project structure.
Pull Request Automation
Create pull requests automatically when feature branches are ready, assign reviewers based on code ownership, trigger CI/CD pipelines, and merge approved changes automatically.
Code Review Workflows
Enforce code review policies, automatically assign reviewers, send notifications for pending reviews, and track review metrics to ensure code quality standards.
Issue Integration
Synchronize Bitbucket issues with external project management tools, automatically create issues from support tickets, and link commits to issues for comprehensive traceability.
Supported Actions
Repository Management
- Create repositories in workspaces
- Update repository settings and permissions
- List repositories with filters
- Delete or archive repositories
- Manage branch restrictions
- Retrieve repository details and statistics
Pull Request Operations
- Create pull requests with reviewers
- Update PR title, description, and reviewers
- Approve or request changes on PRs
- Merge or decline pull requests
- Retrieve PR details and diff
- List pull requests by status
Issue Tracking
- Create issues with metadata
- Update issue status and priority
- Add comments to issues
- Assign issues to users
- Retrieve issue details and history
- Search issues across repositories
Pipeline & Deployment
- Trigger pipeline executions
- Retrieve pipeline status and logs
- List pipelines for repositories
- Stop running pipelines
- Get build artifacts
Frequently Asked Questions
How does Durable handle Bitbucket API rate limits?
Bitbucket Cloud enforces rate limits per hour based on your plan. Durable implements intelligent throttling, monitors rate limit headers, and queues requests with automatic backoff to ensure reliable operation without hitting limits.
Can I work with both Bitbucket Cloud and Server?
Yes. Durable supports both Bitbucket Cloud (bitbucket.org) and self-hosted Bitbucket Server/Data Center instances. API endpoints and authentication methods are automatically configured based on your instance type.
What permissions are required for repository operations?
Permission requirements vary by operation. Creating repositories requires admin access to workspaces, while reading public repositories requires no authentication. Durable validates permissions and provides clear error messages when access is denied.
How are merge conflicts detected and resolved?
Bitbucket API can detect merge conflicts in pull requests. Durable can retrieve conflict information and notify developers, but actual conflict resolution must be done manually in Bitbucket's UI or locally using Git.
Can I enforce code review policies?
Yes. You can configure branch restrictions and default reviewers in Bitbucket, which Durable respects when creating pull requests. Durable can also validate that required approvals are met before merging PRs.
How do I access pipeline build artifacts?
Durable can retrieve artifacts generated by Bitbucket Pipelines, including build outputs, test results, and deployment packages. Artifacts can be downloaded, stored, or passed to downstream workflows for further processing.
Ready to integrate Bitbucket?
Get started with Durable's autonomous integration platform and connect Bitbucket to your workflows.
Book a Demo