Looking at the documentation here. This should work:
{
"title": "My Title",
"source": {
"branch": {
"name": "my-feature-branch"
}
},
"reviewers": [
{
"uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
}
]
}But it does not, I get a 400.
If I remove the "reviewers" property from the json, the PR creates successfully.
I have confirmed the uuid that I am using is correct (via a call to {{baseUrl}}/workspaces/:ourworkspace/members) and has access to the repo.
So, I don't 'think' I'm doing anything wrong. Can you confirm the functionality works and the documentation is correct? And if so, any suggestions for what else to try?
This is my json:
{ "title": "my PR title",
"source": { "branch": { "name": "sourcebranch" } },
"destination": { "branch": { "name": "develop" } },
"reviewers": [ { "uuid": "{valid-uuid}" } ]
}