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

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?

1 answer

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?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket

Suggest an answer

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

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

808 views 17 21
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