Is it possible to let Gerrit randomly pick a reviewer?
If it isn’t possible by configure Gerrit, is it possible by doing it via Git commands / scripts?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t configure gerrit to assign a random reviewer, nor a default reviewer/per project. See issue upstream.
You can however use the query API to get all open review requests, then you can iterate over the JSON data and find the ones with no active reviewer from a certain group
You can then add the reviewer using the set-reviewers API: