Configuring a Webhook in BitBucket
Last updated
Last updated
Log in to ARM.
Click on Admin Section -> API Token.
Click on Create API Token.
Enter the token name.
Select Type as “webhook.”
Enter Description if required.
Click on Create Option.
Your New API Token is created.
Log in to your Bitbucket account and select a Repository in which you want to configure a Webhook.
Click Settings and select Webhooks.
Next, enter the URL in the given format: <instance_url>/api/webhook/v2/<orgname>/trigger-scm-push-request For example, if the instance is https://login.autorabit.com, then the payload URL would be: https://login.autorabit.com/api/webhook/v2/autorabit.com/trigger-scm-push-request
Now fill in the details and click Save.
In this section, you can select the pattern used to read the comment in a revision associated with your ALM story. For example, 'git commit m [project123] # add README file into the project'
If you want to configure a webhook in your repository, select the 'Enable auto update on webhook' checkbox to reveal the URL required for the webhook settings. For more information on how to configure a webhook in different repositories, refer HERE. You can also choose to sync external smart commits.
/api/webhook/v2/<orgname>/enterprise
/trigger-scm-push-request
/api/webhook/v2/<orgname>/enterprise
/sync-alm-commits