The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add checkin rules to my repository

Tamil Elamukil
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events