Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11980

API: Show Pull Requests for All Repositories

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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/

      {owner}/{repo_slug}/pullrequests/
      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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            36 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated: