I'm trying to write a script to auto-assign pull request reviewers via Bitbucket's API, but I can't find any endpoint in the API documentation to do this.
I first need a way to retrieve a list of current reviews on a PR, to see if any need to be assigned. Then I need a way to assign a reviewer.
This question suggests one possible way to set reviewers, but I can't find the corresponding documentation that supports this. And I can't find anything on how to retrieve reviewers. The JSON dump returned by the "/pullrequests/{id}" endpoint seems to include all info about the PR, except reviewers.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.