Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

az repos pr create multiple reviewers

How can I create a pull request with multiple reviewers from he command line?

The following works:

az repos pr  create -s release -t master --auto-complete --reviewers "[email protected]"

But as soon as I specify multiple colleagues it refuses to create a pr

   az repos pr  create -s release -t master --auto-complete --reviewers "[email protected] [email protected]"
   Could not resolve identity: [email protected] [email protected]

If I understand the docs correctly, the ids should be space separated

like image 236
Cesc Avatar asked Sep 01 '25 16:09

Cesc


1 Answers

Don't add the " around the list. Quote each identity if needed, but not in a single big string.

az repos pr create -s release -t master --auto-complete --reviewers [email protected] [email protected]
like image 122
jessehouwing Avatar answered Sep 04 '25 08:09

jessehouwing