Back to How-To
Extracting Data from Azure DevOps
How to get your daily team throughput data.
1. Overview
This process generates a row of numbers representing your team's throughput per day. We will use the "Closed Date" from Azure DevOps and aggregate it by day in Excel, ensuring days with no completed work are included as "0".
Goal Output:
A single row of numbers representing items completed per day.
1, 0, 2, 0, 52. Phase 1: Get the Raw Data
Exporting your closed work items from Azure DevOps.
Log in to your Azure DevOps project and navigate to Boards > Queries, then click + New Query.
Set up the filters:
- Work Item Type | In Group | User Story (or other relevant types)
- State | = | Closed (or Done)
- Area Path | = | [Your Project]\[Your Team Name]
- Closed Date | >= | @Today - 365 (or your desired timeframe)
Crucial Step (Column Options):
- Click Column Options in the top menu.
- Add the column: Closed Date.
- Click OK.
- Click Run Query.
- Click Export to CSV.
3. Phase 2: Group by Day in Excel
Since Azure DevOps includes timestamps, we need to group all tickets by day.
Create the PivotTable:
- Open the CSV file.
- Select your data, go to Insert > PivotTable, and click OK.
- Drag Closed Date to the Rows area.
- Drag ID to the Values area (ensure it's "Count of ID").
Group the Dates (Strip Timestamps):
- Right-click on any date in the "Row Labels" and select Group....
- In the pop-up, select only Days.
- Set "Number of days" to 1.
- Click OK.
CRITICAL: Force Zeros for Empty Cells
- Right-click inside the PivotTable and choose PivotTable Options....
- In the Layout & Format tab, check For empty cells show: and type 0 in the box.
- Click OK.
CRITICAL: Fill in Missing Days
- In the PivotTable fields panel, right-click the Date header (under Row Labels) and select Field Settings....
- Go to the Layout & Print tab.
- Check Show items with no data.
- Click OK.
You should now have a continuous list of days, with "0" for days with no completed work.
4. Phase 3: Format as a Single Column
The final step to get your data ready for ForecastFlow.
- Highlight the number column in your PivotTable (exclude the "Grand Total").
- Copy the data (Ctrl+C or Cmd+C).
- Open a new sheet and click on the first cell in the first column.
- Paste the data.
This will give you a single column of daily throughput numbers needed for the forecast.