capabilities.work

Project Repository Inventory

A 3-step recipe with Azure DevOps. We can help you get access.

Recipe · 3 steps

Project Repository Inventory

with Azure DevOps · Software Construction Management

List repositories in a project, then inventory the first one.

  1. List the Git repositories in the project (scoped by the organization and project server variables).
  2. Fetch the first repository to read its default branch and project details.
  3. List the active pull requests in the selected repository to complete the inventory.
What you'll need to have ready
  • apiVersion: Azure DevOps REST API version (e.g. 7.1).
  • accessToken: Azure DevOps bearer (OAuth 2.0) access token.
For your developer

Arazzo workflow microsoft-azure-devops:project-repository-inventory, 3 operations: repositories_list → repositories_get → pullRequests_list. Specs on APIs.io.