Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to calculate Kanban Team throughput with data in Jira Align Enterprise Insights

In Jira Align, Kanban team throughput is a calculated value within the UI and is calculated based on the average number of accepted stories in the five previous weeks.

Throughput calc UI.png

To calculate the throughput value from data in Enterprise Insights, the current_dw.Story and current_dw.Team tables are queried and the records are returned based on the following parameters:

  • Kanban Team Flag is Yes
  • Stories accepted in the previous 5 weeks
  • Exclude deleted stories
  • Exclude cancelled stories
  • Kanban Team Flag = 'Yes' 

The formula to calculate the throughput is:

COUNT(Accepted story records) / 5 weeks

Below is a sample SQL query that returns Kanban teams and throughput for each team.

SELECT 
T.[Team ID]
,T.[Team Name]
,T.[Kanban Team Flag]
,CAST(ROUND(((1.0 * COUNT(S.[Story ID]))/5),0) AS INT) AS [Throughput]
FROM current_dw.Team AS T
INNER JOIN current_dw.Story AS S ON S.[FK Team ID] = T.[Team ID]
WHERE
T.[Kanban Team Flag] = 'Yes' --Filter for Kanban teams
AND ([Date Accepted] BETWEEN DateAdd(WEEK, -5, GETDATE()) AND GETDATE()) --Filter accepted stories in the last 5 weeks from today
AND [Deleted Flag] != 'Yes' -- Remove deleted stories
AND [Canceled Flag] != 'Yes' -- Remove cancelled stories
GROUP BY
T.[Team ID]
,T.[Team Name]
,T.[Kanban Team Flag]
ORDER BY
T.[Team ID]

 

2 comments

Joe October 21, 2023

Wow!

Ilja Thieme February 24, 2024

What is calculated here is not throughput but team acceptance rate. Throughput would be "completed items in a given timeframe". 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events