Forums

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

How to retrieve the reviewer list of a PR as shown on the webpage from API

Keyi Ni
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!
December 6, 2018

The `reviewers` entry in the response of

/2.0/repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}

is different from the list of reviewers in a PR's webpage. What happens is in the API response, a user appears to be a reviewer on the web page can have a role of participant and falls into the `participants` entry. Is there a way to retrieve the same list of reviewer as the one shown on the web page via API?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events