Is there a way to install hooks via command line?

Austin Harris April 10, 2017

I'm looking for a way to install a hook through the command line instead of adding it through the GUI. Is there any way to do this?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2017

Hi Austin, at the moment it's not possible to install a hook via the command line. You can create a hook, or enable/disable it using the API, but to install it you'll still need to do it via the GUI. 

If you're nterested, you can read How to create a simple hook in Bitbucket Server and Rest resources Bitbucket Server.

Hope this helps!

Austin Harris April 10, 2017

Cool, yeah I wrote a little hook, but I was hoping to be able to get some CD for the code for the hook set up, as more people developed the hook. 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events