We are using Renovate to keep our dependencies up to date. Our code is hosted in BitBucket cloud. I have added a reviewers configuration to the renovate.json but it doesn't add any reviewers to the PRs that it creates.
For the reviewers I have tried using: email address, BitBucket username, BitBucket user ID. None of these works. Example subset of renovate.json is below.
"enabledManagers": ["npm", "nuget"],
"reviewers": [
"bb_username"
],
The logs don't mention anything about reviewers.
Does this functionality work with BitBucket and if so, how should it be configured.
The solution is pretty straightforward: use the UUIDs of the users instead, with
{}surrounding them:The tricky part is to get the UUIDs of the users.
For that, you have to call an endpoint that gives you the UUIDs, e.g.:
I really hope this works for a longer time because the BitBucket API seems to be changing and the documentation is basically useless.
Some references: