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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Triggering web hook on push to pull request Edited

We are using the web hook for Update and Create on pull request to deploy and redeploy the code to an environment. "Create" works great for this purpose, but the "Update" really isn't what we want. The Update hook triggers for example on push, on rewriting the title, on adding a reviewer. So at the moment the build and deploy is triggered every time a person adds themselves as a reviewer, or the description is changed. It's not optimal, with builds ans deploys running far too often. There is a "Push" hook for repository, is there a way to have a "Push" trigger for a pull request as well? We could of course check for actual git changes before we build, but that would require quite a lot of changes in the current setup.

How do we set up a trigger for a push to a pull request in the best way? It feels like there should be a "Push" hook to it, but there doesn't seem to be one atm. It seems to be included in the 7.0 server version, but we are using the cloud version

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,787 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you