Bitbucket provides collaboration tools and Git-repository management and collaboration tools for dev teams.
Torq enables quick and easy integration with Bitbucket, so you can automate anything and everything within moments. Torq's public Bitbucket Steps include:
Generate Bitbucket Access Token
Get Repository
Get Root Directory Contents
List Repository Commits
And more...
If you don't see a Step you need, you can create your own in various ways, such as using the Send an HTTP Request Step or Torq’s Step Builder, and share it across your organization.
Use Bitbucket Steps in Torq
Generate a Bitbucket API Key
API tokens must have the necessary scopes to access Bitbucket APIs.
Open Bitbucket: Navigate to Settings > Atlassian account settings > Security and click Create and manage API tokens.
Create an API token: Click Create API token with scopes.
Configure the token:
Enter a meaningful name.
Select an expiration date that is less than a year away.
Click Next.
Select Bitbucket as the app.
Click Next.
Select the necessary Bitbucket scopes.
Click Next.
Review the token and click Create token.
Finalize: Copy the token to save it for later.
Create a Bitbucket Steps Integration in Torq
Navigate to the integration: Go to Build > Integrations > Steps > Bitbucket and click Add Instance.
Configure the integration:
Give the integration a unique and meaningful name.
Enter the email address of the user who created the API token for the client key.
Paste the Bitbucket client secret that you copied earlier.
Finalize: Click Add.
Templates
Now that you've added your integrations check out these specially crafted templates by Torq's security experts. Visit Torq's template library for more.