This projects helps you find the first commits of a user on a Azure DevOps instance - searching through all repositories of all projects of all configured project collections.
All you have to do is follow the How to use? and provide the user email and the amount of first commits you want to query.
It is working with an on-premise Azure DevOps v6.0 Api.
- Click download and extract zip: Download
- Generate a personal access token (PAT) in Azure DevOps (read on all repositories is enough) - If you want to query multiple organizations select "all accessible organizations" in the PAT creation dialog. (Help: https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat)
- Enter PAT in
QueryFirstCommitAzureDevOps\Configuration\appsettings.json - Also enter Azure DevOps Url and the project collections you want to query in the
appsettings.json - execute
QueryFirstCommitAzureDevOps.exeand follow the instructions.
- Clone repository to your local machine
git clone https://github.com/jheinath/QueryFirstCommitAzureDevOps- Generate a personal access token (PAT) in Azure DevOps (read on all repositories is enough) - If you want to query multiple organizations select "all accessible organizations" in the PAT creation dialog. (Help: https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat)
- Enter PAT in
QueryFirstCommitAzureDevOps\Configuration\appsettings.json - Also enter Azure DevOps Url and the project collections you want to query in the
appsettings.json - execute
dotnet runand follow the instructions.