# \[Feature\] support multiple hooks at once

**URL:** <https://drone.discourse.group/t/feature-support-multiple-hooks-at-once/9697>\
**Category:** Drone Support\
**Created:** [March 29, 2017, 3:55pm UTC](https://drone.discourse.group/t/feature-support-multiple-hooks-at-once/9697 "2017-03-29T15:55:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0ff](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/0ff/32/3609_2.png) [@0ff](https://drone.discourse.group/u/0ff)\
**Post date:** [March 29, 2017, 3:55pm UTC](https://drone.discourse.group/t/feature-support-multiple-hooks-at-once/9697/1 "2017-03-29T15:55:26Z")

</div>

Hey there, so from time to time I run into a situation where bitbucket would “batch” hooks and send multiple triggers as one hook.  
The easiest to explain (and most verifiable) one would be pushing both a commit and a new tag at the same time.  
Bitbucket will send the following JSON (cleaned for the purpose of this discussion):

 ![](https://canada1.discourse-cdn.com/flex003/uploads/testdrone/original/1X/c221f577d911211326992b0d9646b472fad23a10.png)

But drone will only ever pick up the first change (i.e. push to master) and ignore the 2nd one consistently.  
I guess this might be due to the fact that Hooks, internally, are supposed to return a single build only, is that correct?

Would it make sense to change that? I don’t believe I’m the only one using tags and right now I must always push first, then create the tag.

Thanks in advance for any response!
