Forums

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

Bitbucket: Pull Request reviewers

Galit Oshri
Contributor
August 24, 2023

Hi,

We are using Bitbucket server 7.13.

My question is, does pull request have the option to add group to reviewer field?

Thanks in advance,

Galit 

1 answer

1 vote
Ulrich Kuhnhardt [IzymesCo]
Atlassian Partner
August 28, 2023

Hello Galit, welcome to the community.

Short answer to your question: Yes you can! (see below)

 

Out of the box Bitbucket server lets you create reviewer groups at repository level that you can use when you create a pull request. Note that reviewer groups are NOT AD groups that exist instance wide.

While repository reviewer groups are big step up from having no reviewer groups at all, you may still end up maintaining group memberships on both global (AD-based) level and repository level.

Nobody likes busy-work so we've made an app (Workzone) that lets you configure pull request reviewers using AD groups and assign required approval quotas for each group. Any change to AD groups are instantly reflected in your pull request reviewer configuration!

Hope that helps!

Best, Ulrich

// Izymes - Tools for efficient teams

Galit Oshri
Contributor
September 18, 2023

Hi,

Thank you for the information

I'm trying to add a group to reviewer field in pull request but it doesn't find any (although we defined groups in that repository)  . Just apply for users.

Should i set another configuration?

Thanks,

Galit 

Ulrich Kuhnhardt [IzymesCo]
Atlassian Partner
September 18, 2023

You may find that when you type the group name it may appear in the select dropdown - and when you select the group by clicking on it the members are added as individual reviewers

group reviewers.jpg

You need to make sure that group members have sufficient permission for the repo, minimum is READ permission.

Galit Oshri
Contributor
September 19, 2023

Hi Ulrich,

when trying to add the group (same as your example) it says "no matching users found", although the group has write permission for this repository.

Should i define the entire users in this group as a users too? 

Thanks,

Galit 

Ulrich Kuhnhardt [IzymesCo]
Atlassian Partner
September 19, 2023

Correct, the repository group (not the AD group) needs to have members which are regular users with repo read permission. Then after typing the group in the reviewers field the members of the repo group should be inserted. In the above case the 'repo-dev-group' has the following members

Screenshot 2023-09-20 at 13.05.22.png

As I already mentioned if you want to save yourself the headache of maintaining repo groups and their members, use the Workzone app to add AD groups (or repo groups) automatically in the background as soon as the PR is created. This way you make sure the right reviewers are added instantly and only configure it once.

Galit Oshri
Contributor
October 30, 2023

Hi Ulrich,

Just to verify, since i don't have this option

Does Bitbucket server 7.13. have this feature?

 

Thanks again,

Galit 

Ulrich Kuhnhardt [IzymesCo]
Atlassian Partner
October 30, 2023
Galit Oshri
Contributor
October 31, 2023

Thank you Ulrich,

according to the release notes - it is part on  Bitbucket Data Center 7.13. -

Just do verify - I don't see it has support on Bitbucket Server

Thanks,

Galit

Ulrich Kuhnhardt [IzymesCo]
Atlassian Partner
November 1, 2023

Oh yes - sorry. Probably a DC only feature :( so it won't be available in Bitbucket server.

Let me know if you have any questions, perhaps Workzone or another app can enable you to use reviewer groups.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events