Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Branch restrictions not working with user groups

I have added two groups Admin and Dev on the repository and added following branch restriction

Write access : Admin

Merge via pull requests : Dev

But these restrictions are not working and when I push from Dev user it shows following error


remote: Permission denied to update branch Dev.
! [remote rejected] Dev -> Dev (pre-receive hook declined)
error: failed to push some refs to


I am not sure how to resolve this issue as I am following the guidelines written here

Can anyone help me to resolve the issue and setup branch permissions.

1 answer

0 votes

Hi @vikramiron ,

please could you share your repo permissions and branch permissions scrennshot? We need to figure out your current setup so that we can support you on that.

Please keep in mind that, in order to complete a pull-request a user need to have WRITE permissions on the target branch.


Hi @Fabio Racobaldo _Herzum_ 

Please check screenshots

User group permissions:

Branch permissions:


I have changed the group name to Reviewer, when I try to push with a reviewer it shows the error mentioned in the question.

Hi @vikramiron ,

in my opinion there is an inconsistence due to Write access just to admininstrators. If you remove that branch restriction all should be ok.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events