We're trying to configure hooks on our Bitbucket repo while generating the multibranch pipelines so that we don't need to poll bitbucket to trigger builds.
We're using the Post webhooks plugin in bitbucket and have a script to configure this automatically, we'd just like to be able to do this as we're generating the pipelines.