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

How do I add exceptions to merge checks on a branch?

karthiaru October 11, 2018

I need to allow a few users to merge without approvals. How do I add these users as exceptions?

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2018

Hello Karthik,

If you wish to have a group or user be the exception from a merge check then you will need to adjust the permissions and merge check requirements on the branch to not require merge checks all together. However, if you require merge checks to be applied to the branch and one of the requirements is to have X amount of approvals, then all users will be held to this requirement of the branch.

Example permissions and Merge Check setup:

Let's say Alana (Principal Engineer), Harvey (QA lead), and another 5 engineers are working on a Teams in Space project. Everyone has write access to the repository, but you want to restrict access to the master and develop branches. From the branch permission dialog, you might want to assign permissions like this:

BranchBranch permissionsMerge checks
Master

Write access: Alana

Merge via pull request: Alana, Harvey

  • Check for 2 passed builds on the last commit
Develop

Write access: Alana, Harvey

Merge via pull request: Alana, Harvey,
teamsinspace:developers (group)

  • Check for 3 passed builds on the last commit
  • Check for at least 2 approvals
  • Check for unresolved pull request tasks

Source Document

 

Further documentation:

Branch Permissions

I hope this clarifies Permissions and Merge Checks.

-Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events