azure-devops

How to find all completed PRs across projects in Azure devops


How can I find all completed PRs across projects in Azure devops?

I'm looking for them under "My Pull Requests" in devops link, but nothing is showing up?


Solution

  • You can do it programmatically with REST API. Simple workflow:

    1. Get all projects: Projects-List
    2. Get repositories of each project: Repositories - List
    3. Get pull requests of each repository: Pull Requests - Get Pull Requests

    You could build a hub extension for this requirement: Add a hub