I want to configure a post-commit hook on all repositories to POST to an endpoint. It seems like I can do this globally with scriptrunner rather than enable in each repository.
Any examples would be helpful
Admins can define post-receive hooks that apply to all current and future repos: https://scriptrunner.adaptavist.com/latest/bitbucket/PostReceiveHooks.html
Posting to an endpoint is simple enough, there is an example (in the event handling docn but should be similar) here: https://scriptrunner.adaptavist.com/latest/bitbucket/StashEventHandlers.html#_post_to_em_slack_em_when_a_repository_is_forked
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs