Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get/set review on Bitbucket pull request using API

Chris Spencer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2018

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events