Details
-
Suggestion
-
Resolution: Unresolved
Description
Hi Guys,
I like that we can get a list of all pull requests for a repository, but I'd really like to get ALL pull requests belonging to my team, without having to request a list of all repositories, and then request pull requests for each one.
Basically, instead of using:
https://bitbucket.org/api/2.0/repositories/
I'd like to use:
https://bitbucket.org/api/2.0/repositories/{owner}
/pullrequests/
By removing the repo_slug, I should be able to see any and all pullrequests belonging to that owner.
This is essentially (I believe) the equivalent of doing the following in the web front end:
- Dashboard -> Pull Requests
- Click 'Teams'
- I see a list of all open Pull Requests belonging to anyone in the team.
If this was possible via a single API request, that would be fantastic!