Release Notes v6.2
We released Code Owners 6.2 on 🎉
Download on the Atlassian Marketplace for Data Center and Server
New Features
Random Code Owners Assignment
Code Owners can now be configured to automatically assign only a subset of each of your code owners group for review. This allows you to reduce the number of reviewers for a pull request and the amount of notifications your team will receive.
Currently, the only supported method is to choose code owners at random.
You can add the following line to your CODEOWNERS
file,
CODEOWNERS.toplevel.assignment_routing random 2
and the app will pick 2 code owners for each group that are relevant to your pull request.
You can find more information in the Settings Documentation page.
Create a Pull Request as a Draft
In the previous release v6.1, we introduced the initial support to mark a pull request as a draft with the pull request title prefix [DRAFT]
. In this release, we added the ability to do this with the ease of a button click while creating the pull request.
![](../__attachments/3480551465/image-20230628-121558.png?inst-v=673cdba3-7f01-429e-af8c-885073368456)
Select Draft and get feedback early with just a few teammates
This will allow you to consider a Pull Request as a draft and as work in progress to get early feedback. No Code Owners will be automatically assigned to your pull request until you mark your Pull Request as being Ready for Review. You can manually add reviewers (the usual way) if you want to cherry pick them.
![](../__attachments/3480551465/image-20230628-121647.png?inst-v=673cdba3-7f01-429e-af8c-885073368456)
Mark your pull request as “Ready for review”, and the app will add all code owners as reviewers again
Globally configure DevSensei Auto-Merge
You are now able to globally configure DevSensei Auto-Merge under the Administration level.
This will allow you to configure repositories to have DevSensei Auto-Merge enabled/disabled by default with one click.
![](../__attachments/3480551465/image-20230628-073927.png?inst-v=673cdba3-7f01-429e-af8c-885073368456)
Globally configure DevSensei Auto-Merge
Improvements
When available, DevSensei Auto-Merge will now decide whether to delete the merged branch based on the “Branch deletion on merge” setting.
Bitbucket version | Source Branch deletion settings |
---|---|
7.15 and higher |
|
below 7.15 |
|
Bug Fixes
Prevent the ability to auto-merge if it was disabled in destination repository.
Prevent to auto-merge, if pull request author misses permission to merge.
Previous: Release Notes v6.1
Do you have any questions, suggestions, or problems?
Let us know. We’re glad to help!