Not sure if this is possible, but it seems it was once possible to set default reviewers using the API. Could not find it on the documentation. I'm trying to automate repository creation and setting the default reviewers is an important step. Has anyone tried and succeeded?
My request as of now (attempted to add a participants field, that of course didnt work):
curl -X POST \ https://api.bitbucket.org/2.0/repositories/myhandle/mynewrepo \ -H 'Authorization: Basic yattayattayatta' \ -H 'Content-Type: application/json' \ -d '{ "scm": "git", "is_private": true, "participants": [ { "is_staff": true, "account_id": "my_own_account", "role": [REVIEWER], "approved": true } ], "project": { "key": "MYPROJECT" }}'