In the plugin Adaptavist ScriptRunner for Bitbucket Server installed on Atlassian Bitbucket v6.10.0. We have an excellent function Policy to enforce Can only push own commits in the section Enforce trusted commit authors, but can we configure it so that we have a list of users that can bypass this restriction, so I want to select a list of users on the server to which this restriction will not apply?
Hi @Владислав ,
In the latest release of ScriptRunner for Bitbucket we have now added a Condition field to the Enforce Trusted Commit Authors pre-hook.
Using this Condition field should enable you to filter out a list of users you do not wish the pre-hook to run for.
Please let me know if I can be of further help?
Product Manager, ScriptRunner for Bitbucket
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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