Missed Team ’24? Catch up on announcements here.

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

Disable all webhooks, post webhooks and hooks in Bitbucket

Stefano Coletta July 2, 2020

In the official documentation I can read:

Ensure that no hooks are configured that will trigger builds if you are using CI tools. If you are using bamboo this will be taken care of when you disable application links. If you use something like Jenkins, you will need to manually disable or delete these hooks. 

But I can't find a way to make this job quickly and for all of them.

In my instance, there are many of them and disabling them by hand is really unfeasible.

I can't even imagine asking every team to disable theirs by hand...

Can you suggest a way to disable all webhooks, post webhooks and hooks from any project/repo with a batch operation?

I'm cloning the production instance and I want to be sure that people making a test on a staging instance does not trigger something to the production systems (as correctly stated on Atlassian docs)

By looking at the SQL database it seems to me that there are a lot of them. We have hundreds of projects with thousands of repos.

I looked in the AO_A0B856_WEBHOOK table and sta_repo_hook but I don't know if they are all, if it is ok to disable them from the database when Bitbucket is powered off, etc... 

Can you give some hints? 

Kind regards,

Stefano

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events