I am fetching pull requests for a particular repository using Bitbucket REST API version 2.0.
https://developer.atlassian.com/bitbucket/api/2/reference/search?q=tag:pullrequests
Below REST API works and list all the pull requests.
/repositories/{username}/{repo_slug}/pullrequests
Now I want to apply filters on above API eg
- Fetch all pull request by passing start and end date
- Count all approved/declined pull requests.