The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling ScriptRunner hooks for specific Bitbucket repositories via script

Mark Ottaviani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2019

We have several thousand bitbucket repositories, and some of these need to have a specific set of scriptrunner merge checks and pre-hooks applied to them.   Assuming I already know (or can detect via script) which repositories need these rules applied, is there a way to script the enabling of a hook to specific repositories?   I want to avoid having to click a checkbox next to each repo that needs the rule(s) applied.  

Thanks!

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events