Forums

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

How to add checkin rules to my repository

Arjun kumar
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!
June 15, 2020

Hello,

I would like to enforce checks to certain branches (only like master) and not sure how to achieve them. 

 

1. Mandatory pull request for checkin (found that this can be achieved in branch permissions)

2. Minimum 3 reviewers for PR 

3. Check specific format is followed in the comments like including a JIRA id etc

4. If the above rules are implemented for master branch and if I clone the branch then the new branch should also have the rules automatically inherited

Edit 1: https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Premium-Require-all-tasks-to-be-completed/qaq-p/869186 found the link helpful but still need help on #3 and #4

 

Edit 2: Can these be enforced as policy across the company. so when team create and work on their repositories these are in place.

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events