Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to add a webhook to my bitbucket repository?

Shakshi Gularia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2023

Cannot see the option anywhere to configure bitbucket repository

 

1 answer

0 votes
Ankit Anway
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2023

Hi Shakshi, 

Welcome to the community !!

You can create a webhook through Bitbucket Cloud or with the API. Use the following steps to create a webhook on a repository in Bitbucket. 

  1. From Bitbucket, open the repository where you want to add the webhook.

  2. Click Repository settings on the left sidebar.

  3. On the Settings page, select Webhooks on the left sidebar.

  4. Click the Add webhook button to create a webhook for the repository.

  5. On the Add new webhook page, enter a Title with a short description.

  6. Enter the URL to the application or server.

  7. (Optional) If you don't want the webhook to be active after you save, remove the checkmark from Active.

  8. (Optional) If you're using a self-signed certificate and want to disable certificate verification, select Skip certificate verification.

    Note: We recommend that you don't disable certificate verification because self-signed certificates are inherently not secure. Read the next section for more information about why you would or wouldn't use self-signed certificates.

  9. If necessary, update the Triggers field.
    By default, the trigger for the webhook is a repository push, as demonstrated by the Repository push field. If you want additional or different actions to trigger the webhook, click Choose from a full list of triggers. You will see a list of all the event types that can trigger the webhook.

  10. After you entered all the necessary information for your webhook, click Save.

NOTE : 

  • The administrators of a repository are the only users who can create a webhook on that repository.
  • You can create up to 50 webhooks per repository.

 

Please feel free to reach out if you have any questions.
Kind regards,
Ankit
Shakshi Gularia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2023

Describe a way to enable people to get notified about changes in the respository like push, pull, commit. How to enable this in bitbucket?

Ankit Anway
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2023

Hi Shakshi,

Greetings for the day !!

Bitbucket Cloud sends you email notifications about activity that takes place in your account or things you watch.

You can refer to below links. 

Manage Email Notification 

Repository-Notifications 

 

Please feel free to reach out if you have any questions.
Kind regards,
Ankit

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events