ARUN VARRIAR
ARUN VARRIAR

Reputation: 1

Get list of projects with its process Name

I am trying get all the projects with its process name. I tried to use the https://learn.microsoft.com/en-us/rest/api/azure/devops/core/projects/list?view=azure-devops-rest-5.1 which lists all projects without process name.

I know that we can get process of each project with its capabilities set to true. But with this approach i need to hit the api equal to total number of projects.

I want to avoid this and get details of project with its process with minimal api hits, may be a single api hit. Is there a way to get both easily?

Upvotes: 0

Views: 1289

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33698

There isn't such REST API to do it. But you could do it by calling

https://dev.azure.com/{org}/_settings/projects?__rt=fps&__ver=2

And the projects' results are in fps > dataProviders > data > ms.vss-admin-web.organization-projects-data-provider > Projects (include process template name).

This is the request of Organization Settings > Projects page. (https://dev.azure.com/{org}/_settings/projects)

Upvotes: 2

Related Questions