You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
With Adaptavist ScriptRunner for Bitbucket, can I create custom hooks which can be enabled/disabled by repo/project admins, or hooks with customizable settings? Or are custom hooks restricted to Bitbucket System Admins?
Hi @Jonas Lindström ,
For security reasons, custom hooks can only be created by Admins. However they are customisable to run only for selected projects/repositories.
If you want to select to run for all current and future projects/repositories, except say, one repository, you can prevent the running of the custom hook for that repository by placing some conditional logic in the custom Script itself. Or within the Condition field, if it is a built-in Script.
Please let me know if that helps answer your question?
Product Manager, ScriptRunner for Bitbucket