Gerrit Web Interface: Add Multiple Reviewers

Using the Gerrit web interface, is it possible to add several reviewers to this commit right away? Currently, it seems that reviewers should be added one after another: trying to add a list as an input file fails no matter how it is separated.

+4
source share
1 answer

No, it is not possible to add multiple reviewers at once using the Gerrit interface. You must add one by one or use REST, as in this example:

curl --request POST -d@- --header Content-Type:application/json https://GERRIT-SERVER/a/changes/CHANGE-NUMBER/reviewers << EOF
{
    "reviewer": "USERNAME1",
    "reviewer": "USERNAME2"
}
EOF
+1
source

Source: https://habr.com/ru/post/1674908/


All Articles