# Bitbucket Webhook

**URL:** <https://discuss.bitrise.io/t/bitbucket-webhook/11051>\
**Category:** Other Issues\
**Tags:** bitbucket, webhook\
**Created:** [November 21, 2019, 4:26pm UTC](https://discuss.bitrise.io/t/bitbucket-webhook/11051 "2019-11-21T16:26:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdaniels](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bdaniels/32/2588_2.png) [@bdaniels](https://discuss.bitrise.io/u/bdaniels)\
**Post date:** [November 21, 2019, 4:26pm UTC](https://discuss.bitrise.io/t/bitbucket-webhook/11051/1 "2019-11-21T16:26:39Z")

</div>

Hello

I just enabled a bitbucket web hook (following these directions: [https://devcenter.bitrise.io/webhooks/adding-a-bitbucket-webhook/](https://devcenter.bitrise.io/webhooks/adding-a-bitbucket-webhook/)) and noticed that every time I edit the description or summary on a pull request another build to test the branch is started.

I feel that this is unnecessary. Only code change should trigger.

I’d like to create feature branch builds for PRs but I don’t want to do that if each text change in the PR would trigger.

Here is a payload of an update webhook from Bitbucket:  
[https://confluence.atlassian.com/bitbucket/event-payloads-740262817.html#EventPayloads-Updated.2](https://confluence.atlassian.com/bitbucket/event-payloads-740262817.html#EventPayloads-Updated.2)

I think that Bitrise should be filtering for source updates.

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [December 12, 2019, 1:19pm UTC](https://discuss.bitrise.io/t/bitbucket-webhook/11051/2 "2019-12-12T13:19:10Z")

</div>

Hi @bdaniels!

Just to confirm, is this the behaviour that you’re experiencing regardless of what events you selected the webhooks to be sending? You should be able to filter for specific events there:

 ![29](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/6/63a08cb006a35ed316ceb80e013d671f47a55f67.png)

---

<div class="post-metadata">

**Author:** ![bdaniels](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bdaniels/32/2588_2.png) [@bdaniels](https://discuss.bitrise.io/u/bdaniels)\
**Post date:** [December 12, 2019, 5:02pm UTC](https://discuss.bitrise.io/t/bitbucket-webhook/11051/3 "2019-12-12T17:02:44Z")

</div>

I’ve left the settings as described in the Bitrise document for setting up the web hook. I need to know when a PR is updated, or created. I also need to know when a branch is pushed. I only really care about the source update though. According to the payload documentation, it sounds like Bitrise may only want to be checking for the source update in order to trigger a build.

 ![52%20AM](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/b/ba527550b02ceffb517c59ca7ad8e8a06cc4bd4c.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [January 11, 2020, 5:02pm UTC](https://discuss.bitrise.io/t/bitbucket-webhook/11051/4 "2020-01-11T17:02:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
