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

Add endpoint for getting all pull requests that I'm a reviewer on across multiple repos

    XMLWordPrintable

    Details

    • Feedback Policy:

      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

      Similar to this endpoint however instead of all pull requests authored by

      {target_user} it would return all pull requests that {target_user}

      is a reviewer on. I'm not sure if this endpoint already exists. I tried searching the docs and these issues but couldn't find anything. This would prevent me from needing to manually provide each repo then querying each repo's pullrequest endpoint and filtering (which should also reduce some server load as it would only be one request instead of multiple).

      Perhaps an endpoint like:

      /2.0/pullrequests/{target_user}/reviewer
      

      or a filter query parameter like

      /2.0/pullrequests/{target_user}?kind=reviewer
      

      Or something similar.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            tim.ellis Tim Ellis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: