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
You must be a workspace administrator to browse the workspace settings.
Create an OAuth consumer in Bitbucket
API tokens must have the necessary scopes to access Bitbucket APIs.
Open Bitbucket: Navigate to Settings > Workspace settings and under Apps and features click OAuth consumers.
Create an OAuth consumer: Click Add consumer.
Enter a meaningful name.
Select the relevant permissions.
Click Save.
Copy the client key and client secret: Copy the OAuth consumer's Key and Secret to save them for later. You will need them to create a Bitbucket steps integration in Torq.
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 key and 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.


