Filtering pull request by build and approval state

v-hleb.v April 30, 2021

Good day,

 

We have /2.0/repositories/{workspace}/{repo_slug}/pullrequests endpoint to get information about pull requests. If i add fields=+values.participants i can get information about approval state.

So is this possible to add build status information (unfortunately https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering lacs a lot of information) to the response and to filter it by approval and build state. E.g. i want to retrieve only approved and successfully built pull requests.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events