Enable hook on project level functionality.
stakken opened this issue · 2 comments
Since version 5.2 bitbucket implemented a function which allows one to enable hooks on project level which is then inherited down to all repositories. This functionality exists in the rest API see the following link.
https://docs.atlassian.com/bitbucket-server/rest/5.2.3/bitbucket-rest.html#idm45417675536720
We need this function and would greatly appreciate if it is implemented.
/Oskar
@OskarGranlund looks like the project level version of this is identical API wise to the repo level one, so I just extracted settings and hooks from repo to a shared resource and then added it to projects as well. Please give it a shot if you still have this use case (sorry it's a year late).
@OskarGranlund FYI, you will need to install from master in order to test this, 0.7 is not yet in PyPI.