Azure DevOps - Get the capacity of your team in the current sprint programmatically
Microsoft Azure DevOps provides a solid way of tracking your team-progress while using the scrum principles.
Nuget Packages with WebApi Clients are provided for accessing your team information via code. For example you can access the queries of your team, the work items of your backlog and much more!
In this article we will focus on getting the capacity of the current sprint for each member of your team. This is the code snippet that does our job:
Thats it. For here on you can expand this script and add more functionality into it. For example filter the capacity based on a specific activity (development, deployment, etc.), or find out the total days off of your team.