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

Can only push own commits

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?

2 answers

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?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket


Our competing (and free) "Control Freak" plugin can handle this usecase easily.

Use the "User Exemptions" list to put in the users that are allowed to push all commits.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,706 views 10 16
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