Hi,
I wrote an app that you can check out, install and customize (all of this for free) to assign reviewers when the PR is created.
Here is the full article covering the app: Assign PRs randomly to a specific list of users in Bitbucket Cloud
And this is just to explain the logic of adding a reviewer to the PR: Add a reviewer to a PR using the REST API and Forge
Would love to know if you use it or customize it for your own team requirements.
Cheers,
Caterina
As @Sachin Dhamale has mentioned you can define PR default reviewers in repository settings. The reviewers will be added to every pull request. Groups cannot be configured, only individual users.
If you like to add groups as reviewers you can use an app like Workzone for Bitbucket cloud which gives you more flexibility and control how reviewers are added to PRs. You can define multiple rules based on the following parameters:
Workzone can also block merging the PR until all approvals for each applicable rule are given. You can even enable auto-merge so Workzone merges the PR as soon as all rule conditions are met.
I hope this helps!
Best, Ulrich
// Izymes
Disclaimer: I represent Izymes. We make awesome tools for efficient development teams.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian community !!
Can you provide more info on this is it ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure,
I want to make an automation such that when a new PR is raised, the PR reviewer is assigned automatically from a group a pre-selected users.
I just want to assign the PR to the reviewer automatically. The PRs should be distributed evenly if possible amongst these pre-selected users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is PR here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the Script Runner for Bitbucket Plugin there you can have option to add the auto reviewer to the pull request.
Refer this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.