In the previous lesson you saw that a tool for Scrum revolves around the Product Backlog and the Sprint. A Kanban system asks for different things: WIP limits that are visible (and, if you want, enforced), policies written down where the work happens, visible classes of service and blockers, an age shown on every item and, above all, a tool that records when each item enters each column, because every flow metric comes from those dates. A tool that doesn't store those dates, or loses them during a migration, leaves the team without the foundation for its improvement. In this lesson you'll learn what capabilities a tool for Kanban needs, what options exist and how to compare them, how to migrate a board without losing its policies or its history, and how to calculate the metrics with a script that doesn't depend on any tool. You'll see all of this through the migration of Raúl Ortega's Support & Platform board and Rosa Méndez's new Customer Service board, in the spring of 2027.
- What Kanban Asks of a Tool
In Introduction to Kanban and Kanban Principles and Practices you saw that Kanban doesn't prescribe roles or events, but a system: a visualized flow, limits on work in progress, explicit policies, and flow measurements. That's why the tool plays a different role in Kanban than in Scrum:
| In Scrum | In Kanban | |
|---|---|---|
| Center of the tool | The ordered Product Backlog and the Sprint | The board, with its flow and its policies |
| Unit of time | The Sprint (a fixed timebox) | The item: how long each one takes |
| Essential data | What goes into the Sprint and what meets the DoD | The date each item enters each column |
| Typical metrics | Burndown, burnup, velocity | WIP, throughput, cycle time, age, CFD |
| Forecasting | Velocity and ranges per Sprint | Monte Carlo simulation based on throughput |
The right-hand column explains why choosing a tool is more delicate in Kanban: the metrics in Flow Metrics: Lead Time, Cycle Time, Throughput, and CFD depend on dates that the tool records (or doesn't) every time a card moves. The principle from the previous lesson still holds: the tool follows the practice. Before choosing, the Kanban system has to be designed and its policies written down.
A note. As in the previous lesson, this one describes general, stable capabilities. Tools' features, names, and terms change; always check their official documentation and try them out with your own data.
- Essential Capabilities
This table brings together what a Kanban system needs from its tool, why, and what question to ask during a demo to check it:
| Capability | Why it matters | Question to check it |
|---|---|---|
| WIP limits per column | They're the core practice of the pull system (Workflow in Kanban) | What happens when the limit is exceeded: a visual warning, the move is blocked, or nothing? |
| Limits at other levels | Swimlanes with CONWIP, or the expedite class with a maximum of 1 | Can you limit a swimlane or a class of service, and not just a column? |
| "Doing / done" subcolumns | They separate active work from waiting within an activity | Can columns be split, with both halves counting toward the same limit? |
| Visible policies | Exit criteria, pull rules, and classes of service in plain sight (The Kanban Board) | Where are each column's policies written, and who sees them? |
| Classes of service and swimlanes | Treat expedite, fixed-date, standard, and intangible work differently | Can you create swimlanes by query or by field? |
| Recorded blockers | Make them visible and measure how long they last and why | Does the blocker flag store the reason and the duration? |
| Commitment and delivery points | They define where measurement starts and ends | Can I decide which columns count as the start and the end in reports? |
| Work item age | The metric that lets you act before it's too late | Does the card show how many days it has been in progress or in its column? |
| CFD | See queues, WIP, and stability at a glance | Can you choose the period and the columns? |
| Cycle time and throughput | The basis for the SLE and for forecasts | Can you see the scatter of individual items, not just the average? |
| Monte Carlo forecasting | Answer "when?" and "how many?" with probabilities | Is it native, available through an extension, or done with another tool? |
| Export of dates per column | Calculate metrics independently of the tool and migrate without losing history | Can I export, for each item, the date it entered each column? |
Three nuances to keep in mind:
- Warn or block. Some tools prevent you from moving a card into a full column; most only warn you (the column changes color). Both options are valid. The WIP limit is a team agreement, and a highly visible warning, reviewed at the Kanban meeting, is usually enough. A rigid block can even get in the way when a genuine emergency arrives that the policy allows for.
- Built-in metrics define the start in their own way. Many cycle time reports start counting at the first "in progress" column according to their default configuration, which may not match your commitment point. You'll see this in section 7.
- Export is the most overlooked capability, and the one that hurts most when it's missing. Without it, your data lives in a vendor's format.
- Tool Categories and Examples
3.1. Suites with Kanban Boards
- Jira: Kanban boards with minimum and maximum limits per column (which show a visual warning when exceeded), swimlanes configurable by query, a blocker flag, several statuses grouped in the same column, and built-in reports such as the cumulative flow diagram and the control chart. Monte Carlo forecasting usually requires extensions or external tools.
- Azure Boards: boards with WIP limits per column, columns split into "doing" and "done," swimlanes, and the option to write a definition of done for each column, which helps make the exit criteria visible. It offers a CFD and cycle time and lead time widgets.
They're a good fit when the Kanban system coexists with Scrum teams in the same organization and it's useful to link work between them.
3.2. Kanban-Specific Tools
- Businessmap (formerly Kanbanize): designed around the Kanban Method, with WIP limits on columns and at other levels, several workflows on the same board, blockers with recorded reasons, and built-in flow analytics (CFD, cycle time, throughput, and Monte Carlo-style forecasts).
They're a good fit when the organization is centered on managing services with Kanban, or when you want to apply advanced practices (multi-level boards, portfolio management) without extensions.
3.3. General-Purpose Boards and Code Platforms
- Trello: lists as columns and cards as items; per-list limits, card age, and reports depend on extensions (Power-Ups) and on the plan. Very easy to get started with; falls short on metrics.
- GitHub Projects: a board view over a status field, with grouping and filters; suitable for teams that live in the repository. Advanced flow metrics usually require exporting the data or using other tools.
3.4. Flow Analytics Tools
- ActionableAgile (from 55 Degrees): it isn't a board but an analytics tool: cumulative flow diagram, cycle time scatterplot, work item age, throughput, and Monte Carlo forecasts for "when" and "how many." It can connect to other work management tools or load data from a file.
They're a good fit when the board already works but its built-in reports fall short. They separate two functions: managing the work (the board) and analyzing the flow (the analytics).
3.5. The Physical Board
It's still an excellent option for a team that works in the same place: the limits are written above each column, blockers are marked with a red sticky note with the date, and age is made visible by adding a dot to each card for every day it spends in progress. Its limitation is the data: dates are recorded by hand, as Raúl's team discovered during its first two weeks (Flow Metrics: Lead Time, Cycle Time, Throughput, and CFD). A reasonable compromise is the physical board plus a spreadsheet that records three dates per card: created, committed, and delivered.
- Comparing by Capabilities
Legend: N = native; C = through configuration or a convention; E = through extensions, depending on the plan, or with another tool; M = manual; — = not applicable.
| Capability | Jira | Azure Boards | Businessmap | Trello | GitHub Projects | ActionableAgile | Physical |
|---|---|---|---|---|---|---|---|
| WIP limits per column | N | N | N | E | C | — | M |
| Limits per swimlane or class | C | C | N | E | C | — | M |
| Policies visible on the board | C | N | N | C | C | — | M |
| Swimlanes and classes of service | N | N | N | C | C | — | M |
| Blockers with reason and duration | C | C | N | C | C | — | M |
| Age visible on the card | C | C | N | E | E | N | M |
| CFD, cycle time, and throughput | N | N | N | E | E | N | M |
| Monte Carlo forecasting | E | E | N | E | E | N | M |
| Export dates per column | E | C | C | E | E | — | M |
How to read the table:
- It's a rough guide to each tool's general approach, which may change; check every row that matters to you in the official documentation.
- Kanban-specific tools have more Ns in the rows specific to the method. The suites have the advantage of something that doesn't appear in this table: the link to the work of the Scrum teams, which you saw in the previous lesson.
- The ActionableAgile column almost always shows — in the board rows, because it's complementary: it's combined with another tool that manages the work.
- The export row has a lot of Es: getting the date each item entered each column often requires using the API, an extension, or a specific report. Test it before you decide.
- Support and Customer Service: The Problem and the Decision
5.1. What the Inventory Revealed
In the April 5 inventory (Tools for Scrum), problems H2, H4, and H5 affected the two Kanban teams. At the April 7 workshop, Raúl and Rosa went into detail:
- Support & Platform had been working on a general-purpose board since April 2026. The WIP limits were shown with an extension that only warned, swimlanes were simulated with labels and, to get the date of every move, Javier ran a small script against the activity history every Friday. It worked, but it depended on one person and on a format the vendor could change.
- Customer Service had had its board in the same tool since November 2026. Conversations with customers lived in the customer service tool (the shared inbox), and part of each conversation was copied onto the cards on the board. Teresa found emails, phone numbers, and screenshots with customers' user names on several cards (H5).
- The mirror cards from the agreement between Customer Service and Support (Case Study: Implementing Kanban) were maintained by hand: every escalation existed twice, and on April 6, 3 of the 11 mirror cards had the wrong status (H2).
- MB-11, the question of whether Customer Service escalations age more than the rest of Support's work, couldn't be answered because the Customer Service card and the Support card weren't linked (H4).
5.2. Three Options and a Matrix
Raúl and Rosa compared three options using a weighted matrix like the one in Choosing the Right Agile Methodology. The scores (from 1 to 5) are Órbita's assessment in its own context, not a general evaluation of the tools:
| Criterion | Weight | A. Stay on the general-purpose board with extensions | B. Kanban boards in the product team's Jira instance | C. Kanban-specific tool |
|---|---|---|---|---|
| Reliable links between Customer Service, Support, and product | 5 | 2 | 5 | 3 |
| Kanban capabilities (WIP, swimlanes, blockers, policies) | 4 | 2 | 3 | 5 |
| Flow analytics | 3 | 1 | 3 | 5 |
| Export of dates per column | 3 | 3 | 4 | 4 |
| Cost of switching and learning | 3 | 5 | 3 | 2 |
| Centralized administration, accounts, and security | 4 | 3 | 5 | 3 |
| Total (maximum 110) | 57 | 87 | 80 |
How to read it:
- Each total is the sum of weight × score. For example, for B: 5×5 + 4×3 + 3×3 + 3×4 + 3×3 + 4×5 = 87.
- B and C are close. The Kanban-specific tool was better at the method's own capabilities and at analytics; the suite won on what mattered most to Órbita at that moment: eliminating duplicate cards and having a single place to administer accounts, reviewed by Teresa.
- With different weights, the decision would change. A company whose Kanban service doesn't depend on Scrum teams, or that wants to manage an entire portfolio with Kanban, could quite rightly choose C. The matrix doesn't say which tool is better, but which option fits the priorities the team has made explicit.
- B's weakness in analytics was offset by a decision: calculate the metrics with a tool-independent script (section 7) and, if that wasn't enough by July, evaluate a flow analytics tool connected to the export.
The decision was recorded on April 14, together with the one for the product teams: Support migrates on Monday, April 26; Customer Service, on Monday, May 10, after Teresa's data protection review.
- Migrating Raúl's Board Without Losing the Policies
6.1. Policy Inventory: What's Written Down and What Lives in People's Heads
A Kanban board isn't just columns and cards: it's a set of policies the team has been fine-tuning through experiments (Implementing Kanban in Projects). The biggest risk in a migration is copying the columns and losing the policies, especially the ones that were never written down. Raúl got the team together on Monday, April 19, and walked through the board column by column, asking: "What rule do we apply here, and where is it written?"
| System element | On the old board | In the new tool | How it's preserved |
|---|---|---|---|
| Columns and subcolumns | Lists; "doing / done" as two lists | Statuses grouped into columns; two statuses per activity within one column | The limit counts the whole column |
| WIP limits per column | An extension that warns | Native maximum limit, which warns | Reviewed at the Kanban meeting, as before |
| Expedite max. 1 and Platform max. 2 (CONWIP) | Written in the board description | The tool doesn't limit swimlanes | Policy written at the top of the board and an automatic check in the script (exercise 2) |
| Classes of service | Color labels | "Class of service" field and swimlanes by query | The policies stay in policies/classes-of-service-v1.md |
| Exit criteria | In each person's head; partly in the description | Description of each column | Written out in full for the first time |
| Blocker policy | Red label and a comment | Native blocker flag with a required comment giving the reason | Escalation according to the policy in Workflow in Kanban |
| Age policy | "Oldest first" (verbal) | Age visible on the card | Written at the top of the board |
| Replenishment on Mondays and Thursdays | Team calendar | No change | The cadence doesn't belong to the tool |
| SLE (85% in 9 days) | Team document | Top of the board | Recalculated with the script |
| SP-xxx identifiers | Its own numbering | The tool assigns its own | New key SOP and a "Previous ID" field |
Take a look at two rows:
- Exit criteria: the inventory revealed that two criteria ("Verification: checked by someone other than the person who resolved it" and "Deployment: skipped only if there's no change to deploy") were being applied but weren't written down anywhere. A migration is an excellent opportunity to make implicit policies explicit, which is one of the general practices of the Kanban Method.
- Identifiers: the new tool numbers items its own way. If the project had been called SP, the new SP-12 would have been confused with the old SP-12 from April 2026, which appears in reports and in conversations. The team chose the key SOP and stored the old identifier in a field.
6.2. The Migration Plan
# support_migration_plan.yml - from a general-purpose board to the shared instance (April 2027)
owners: [Raúl Ortega, Javier Soto]
support: "Irene Sanz, who administers the TM project"
phases:
- name: design
dates: "Apr 19-21"
deliverables:
- "workflow, columns, swimlanes, and fields, according to support_board.yml v3"
- "policies written at the top of the board and in each column"
- name: rehearsal
date: "Thursday, Apr 22"
deliverables:
- "trial migration in a test project, with the 9 committed cards"
- "check: the metrics script reads the new export"
- name: archive
date: "Friday, Apr 23, at the end of the workday"
deliverables:
- "full export of the old board, with the date history,
saved as CSV in the team's repository"
- name: cutover
date: "Monday, Apr 26, 8:00-9:30 a.m."
deliverables:
- "only open cards are migrated; delivered work stays in the archive"
- "each migrated card carries its previous ID, original created date, and original committed date"
- "the old board becomes read-only"
- name: validation
dates: ["Friday, May 7", "Friday, May 21"]
deliverables:
- "metrics for the first two weeks compared with the SLE"
- "Support's monthly retrospective: did we lose any policy?"
rollback: "if something essential isn't working on Monday the 26th at 9:30 a.m., the old
board is reopened and the cutover is repeated the following week"
personal_data: "no Support card contains customers' personal data;
steps to reproduce are described without it (reviewed by Teresa)"How to read it:
- The phases separate design decisions, rehearsal, protecting the history, cutover, and validation. Notice that the archive is made on Friday the 23rd at the end of the workday, the last moment before the cutover: that way it captures every move up to the very end of the old board.
- Only open cards are migrated. Migrating the entire history (more than 200 items since April 2026) would have been expensive and fragile. Delivered cards stay in the CSV archive, which keeps all their dates: anyone can repeat the 2026 analyses with the scripts from Flow Metrics: Lead Time, Cycle Time, Throughput, and CFD.
- Original created and committed dates: this is the most important detail in the plan. A card created in the new tool on April 26 is "born" that day, even if it was committed on the 19th. Without the original dates, every migrated card would look faster than it really was. You'll verify this with data in section 7.
- The cutover happens on a Monday before the Kanban meeting, with an hour and a half of margin and a rollback criterion decided in advance. A migration without a rollback plan forces you to press ahead even if something essential fails.
- There's no parallel running on two boards: keeping both up to date would have doubled the work and recreated the mirror card problem.
- Exporting the Data and Calculating the Metrics Independently of the Tool
7.1. A Generic Export Format
On Friday, May 7, two weeks after the cutover, Raúl wanted to check that the metrics still made sense. To avoid depending on the built-in reports, Javier prepared an export in a format that almost any tool can produce (natively, through its API, or with an extension): one row per item and one column per workflow status, holding the date the item first entered that status.
id,previous,class,lane,original_created,original_committed,intake,ready,diagnosis,resolution,verification,deployment,delivered SOP-1,SP-338,standard,Operations,2027-04-12,2027-04-19,,,,,2027-04-26,2027-04-27,2027-04-27 SOP-2,SP-340,standard,Operations,2027-04-14,2027-04-20,,,,2027-04-26,2027-04-28,,2027-04-29 SOP-3,SP-341,intangible,Operations,2027-04-06,2027-04-21,,,,2027-04-26,2027-04-30,2027-05-03,2027-05-03 SOP-4,SP-343,standard,Platform,2027-04-15,2027-04-21,,,2027-04-26,2027-04-28,2027-05-03,2027-05-04,2027-05-04 SOP-5,SP-344,standard,Operations,2027-04-19,2027-04-22,,,2027-04-26,2027-04-27,2027-04-29,,2027-04-30 SOP-6,SP-345,fixed_date,Operations,2027-04-16,2027-04-22,,,,2027-04-26,2027-04-27,2027-04-28,2027-04-28 SOP-7,SP-347,standard,Operations,2027-04-20,2027-04-23,,2027-04-26,2027-04-27,2027-04-28,2027-04-29,,2027-04-30 SOP-8,SP-348,standard,Operations,2027-04-21,2027-04-23,,2027-04-26,2027-04-28,2027-04-30,2027-05-04,2027-05-05,2027-05-05 SOP-9,SP-350,standard,Platform,2027-04-22,2027-04-23,,2027-04-26,2027-04-29,2027-05-04,,, SOP-10,,expedite,Expedite,,,2027-04-26,,2027-04-26,2027-04-26,2027-04-27,2027-04-27,2027-04-27 SOP-11,,standard,Operations,,,2027-04-26,2027-04-27,2027-04-28,2027-04-29,2027-04-30,,2027-05-03 SOP-12,,standard,Operations,,,2027-04-26,2027-04-27,2027-04-29,2027-05-03,2027-05-04,2027-05-05,2027-05-05 SOP-13,,standard,Operations,,,2027-04-27,2027-04-28,2027-04-29,2027-04-30,2027-05-03,,2027-05-03 SOP-14,,fixed_date,Operations,,,2027-04-27,2027-04-29,2027-04-30,2027-05-03,2027-05-05,2027-05-06,2027-05-06 SOP-15,,standard,Operations,,,2027-04-28,2027-04-29,2027-05-03,2027-05-04,2027-05-05,,2027-05-06 SOP-16,,standard,Operations,,,2027-04-28,2027-04-30,2027-05-03,2027-05-04,2027-05-06,,2027-05-07 SOP-17,,standard,Operations,,,2027-04-29,2027-04-30,2027-05-04,2027-05-05,2027-05-06,2027-05-07,2027-05-07 SOP-18,,standard,Operations,,,2027-04-29,2027-05-03,2027-05-04,2027-05-06,,, SOP-19,,expedite,Expedite,,,2027-05-04,,2027-05-04,2027-05-04,2027-05-05,2027-05-05,2027-05-05 SOP-20,,standard,Operations,,,2027-04-30,2027-05-03,2027-05-05,,,, SOP-21,,intangible,Operations,,,2027-04-26,2027-05-03,2027-05-04,2027-05-05,,, SOP-22,,standard,Operations,,,2027-05-03,2027-05-04,2027-05-05,2027-05-06,2027-05-07,, SOP-23,,standard,Platform,,,2027-05-03,2027-05-04,2027-05-06,,,, SOP-24,,standard,Operations,,,2027-05-04,2027-05-05,,,,, SOP-25,,standard,Operations,,,2027-05-05,2027-05-06,,,,, SOP-26,,standard,Operations,,,2027-05-06,,,,,, SOP-27,,standard,Operations,,,2027-05-07,,,,,,
How to read the support_export.csv file:
- SOP-1 to SOP-9 are the cards migrated on April 26. Look at SOP-1: in the new tool, its first date is the Verification date (Apr 26), because it was created directly in that column. Its real commitment was on April 19, and that's in
original_committed. - SOP-10 and SOP-19 are expedite items: they go straight into Diagnosis without passing through Ready, as the expedite class policy allows. Their
readycolumn is empty, and the script has to know how to handle that. - An empty column in the middle, such as
deploymentfor SOP-2, means the item skipped that column (there was nothing to deploy). - SOP-26 and SOP-27 are still in Intake: they haven't been committed and don't count as work in progress.
- Values such as
Operations,standard, orfixed_dateare internal field values, written without spaces, accents, or special characters to avoid encoding problems when exporting.
7.2. The Script: Configuration Separate from Calculation
The metric definitions are the ones from Flow Metrics: Lead Time, Cycle Time, Throughput, and CFD (cycle time from commitment to delivery, lead time from creation to delivery, calendar days, same day = 1) and aren't repeated here. What's new is the shape of the script: everything that depends on the tool lives in a configuration block, and the calculation doesn't know where the data comes from.
import csv
import math
import sys
from datetime import date, timedelta
# 1. Configuration: the only thing that changes from one tool or board to another
CONFIG = {
"columns": ["intake", "ready", "diagnosis", "resolution",
"verification", "deployment", "delivered"],
"commitment": "ready", # commitment point
"delivery": "delivered", # delivery point
"original_created": "original_created", # dates carried over from the previous tool
"original_committed": "original_committed",
}
START = date(2027, 4, 26) # Monday of the cutover
TODAY = date(2027, 5, 7) # Friday of the analysis
SLE_DAYS = 9 # 85% in 9 days or less (standard Operations work)
# 2. Utilities (same conventions as in Flow Metrics)
def to_date(text):
return date.fromisoformat(text) if text else None
def days(start, end):
return (end - start).days + 1 # same day = 1 day
def percentile(values, p):
ordered = sorted(values)
k = math.ceil(p / 100 * len(ordered)) # nearest rank
return ordered[k - 1]
# 3. From the tool's columns to the three flow events
def events(row, use_originals=True):
cols = CONFIG["columns"]
start = cols.index(CONFIG["commitment"])
after_commitment = [to_date(row[c]) for c in cols[start:] if row[c]]
committed = min(after_commitment) if after_commitment else None
all_dates = [to_date(row[c]) for c in cols if row[c]]
created = min(all_dates) if all_dates else None
if use_originals:
created = to_date(row.get(CONFIG["original_created"])) or created
committed = to_date(row.get(CONFIG["original_committed"])) or committed
return created, committed, to_date(row[CONFIG["delivery"]])
def analyze(rows, use_originals=True):
delivered_items, in_progress = [], []
for row in rows:
created, committed, delivered = events(row, use_originals)
if committed is None:
continue # still in Intake: not committed
if delivered is None:
in_progress.append((row, days(committed, TODAY)))
elif START <= delivered <= TODAY:
delivered_items.append((row, days(committed, delivered), days(created, delivered)))
return delivered_items, in_progress
# 4. Report
path = sys.argv[1] if len(sys.argv) > 1 else "support_export.csv"
with open(path, newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
delivered_items, in_progress = analyze(rows)
print(f"Period: {START} to {TODAY}")
print("Throughput per week:")
monday = START
while monday <= TODAY:
sunday = monday + timedelta(days=6)
n = sum(1 for row, _, _ in delivered_items
if monday <= to_date(row[CONFIG["delivery"]]) <= sunday)
print(f" week of {monday:%b} {monday.day}: {n}")
monday += timedelta(days=7)
cycle_times = [ct for _, ct, _ in delivered_items]
lead_times = [lt for _, _, lt in delivered_items]
print(f"Delivered: {len(delivered_items)}")
print(f"Cycle time: mean {sum(cycle_times)/len(cycle_times):.1f} days; "
f"p50 {percentile(cycle_times, 50)}; p85 {percentile(cycle_times, 85)}")
print(f"Mean lead time: {sum(lead_times)/len(lead_times):.1f} days")
standard = [ct for row, ct, _ in delivered_items
if row["class"] == "standard" and row["lane"] == "Operations"]
within = sum(1 for ct in standard if ct <= SLE_DAYS)
print(f"Standard Operations SLE: {within} of {len(standard)} "
f"in {SLE_DAYS} days or less ({within/len(standard):.0%})")
print(f"WIP today: {len(in_progress)}")
for row, age in sorted(in_progress, key=lambda x: -x[1]):
warning = f" <-- over {SLE_DAYS} days" if age > SLE_DAYS else ""
print(f" {row['id']:7} {row['lane']:11} age {age:2} days{warning}")
without_orig, _ = analyze(rows, use_originals=False)
c2 = [ct for _, ct, _ in without_orig]
print(f"Without original dates: mean {sum(c2)/len(c2):.1f} days; "
f"p85 {percentile(c2, 85)}")How flow.py works, block by block:
- 1. Configuration.
CONFIGis a dictionary (key-value pairs inside curly braces) that describes the export: which columns there are and in what order, which one is the commitment point, which one is the delivery point, and what the fields holding the original dates are called. To analyze another board, or another tool's export, you only change this block.START,TODAY, andSLE_DAYSset the period and the service level target. - 2. Utilities.
to_dateconverts a string such as2027-04-26into a date, and returnsNone(Python's "nothing" value) if the cell is empty.daysandpercentileare the same functions as in Flow Metrics: Lead Time, Cycle Time, Throughput, and CFD. - 3.
events: this is the heart of the script, because it translates the tool's columns into the three events that matter: created, committed, and delivered.cols.index(CONFIG["commitment"])finds the position of the commitment column in the list (here, 1, because counting starts at 0).after_commitmentgathers the dates of every column from the commitment point onward, andminkeeps the earliest one. That way, if an item skipped Ready (expedite items), its commitment date is the date it entered the first column after it. This is the robust way to read the commitment point: "the first moment the item was at the commitment point or beyond."createdis the earliest date across all columns.- If
use_originalsis true, the original dates from the previous tool, when they exist, replace the calculated ones.row.get(...)returnsNoneif the export doesn't even have that column, so the script also works for boards that were never migrated.
analyzegoes through the rows and sorts them: items without a commitment are ignored (they're still in Intake); items without a delivery date are in progress, and their age up toTODAYis calculated; items delivered within the period have their cycle time and lead time stored.- 4. Report. The
whileloop walks through the period one Monday at a time and counts each week's deliveries. Then it calculates the mean and percentiles of cycle time, SLE compliance (only for the standard class in the Operations swimlane, which is what the SLE refers to), and the list of work in progress sorted by age, from oldest to newest (key=lambda x: -x[1]sorts by the second value of each pair, with a negative sign to reverse the order). The last part repeats the calculation without the original dates, to see how much it would change.
You run it with python3 flow.py support_export.csv. This is its output:
Period: 2027-04-26 to 2027-05-07 Throughput per week: week of Apr 26: 6 week of May 3: 11 Delivered: 17 Cycle time: mean 8.3 days; p50 8; p85 13 Mean lead time: 11.6 days Standard Operations SLE: 9 of 11 in 9 days or less (82%) WIP today: 8 SOP-9 Platform age 15 days <-- over 9 days SOP-18 Operations age 5 days SOP-20 Operations age 5 days SOP-21 Operations age 5 days SOP-22 Operations age 4 days SOP-23 Platform age 4 days SOP-24 Operations age 3 days SOP-25 Operations age 2 days Without original dates: mean 6.1 days; p85 9
7.3. What the Data Says (and What It Doesn't)
- Throughput: 6 deliveries in the week of the cutover and 11 the following week. The first week is lower because of the change itself (learning the tool, adjusting columns). The second is back in the usual range of about 10 per week.
- SLE: 9 of 11 standard Operations items in 9 days or less, 82%, close to the 85% target. With only 11 data points, a three-point gap doesn't support any conclusion: one more item within the SLE would have brought it to 91%. Raúl recorded it as "no sign of deterioration" and agreed to look at it again on May 21 with four weeks of data.
- SOP-9, from Platform, has been in progress for 15 days. Age flags it without waiting for it to finish: that's exactly what this metric is for. At the Kanban meeting on Monday the 10th, it turned out to be waiting for a maintenance window from the infrastructure provider, and it was flagged as blocked, with a reason and a date.
- The "Without original dates" line is the lesson of the migration: if the team hadn't kept the original dates, the mean cycle time would have dropped from 8.3 to 6.1 days, and the 85th percentile from 13 to 9. The new tool was not faster: it simply didn't know when the migrated cards had been committed.
7.4. When the Metrics Don't Add Up
That same week, Íñigo opened the new tool's built-in control chart and saw a mean cycle time of about 5 days. Who was right? Both of them, because they were measuring different things:
flow.py script |
Built-in report (initial configuration) | |
|---|---|---|
| Start | Commitment (Ready or beyond) | First "in progress" column (Diagnosis) |
| Migrated cards | Original commitment date | Creation date in the new tool |
| Result | 8.3 days on average | About 5 days on average |
It's the same problem as the inbox tool's first response "of 0.3 days" in Monitoring and Control Exercises: two numbers with the same name and different definitions. The solution isn't to pick whichever number you like better, but to: (1) configure the built-in report to start at Ready, (2) remember that for migrated cards only the script is correct, and (3) write at the top of the board which definition each report uses. You'll check this yourself in exercise 1.
- Rosa's Customer Service Board
8.1. Two Tools, Two Functions
Rosa's team needs two different things: talking with customers (email, chat, phone, attachments, replies) and managing the flow of requests (classes of service, limits, waits, age). The customer service tool is very good at the first, and the Kanban board at the second. Problem H5 came from mixing the two: to give the board "context," fragments of conversations containing personal data were copied onto it.
The decision was to separate the functions clearly: conversations and all personal data stay in the customer service tool; the board carries only what's needed to manage the flow, with the conversation number so it can be found.
8.2. Teresa's Review
Before the migration, on Wednesday, May 5, Teresa Llorente reviewed what the new board could contain:
# atc_board_data_review.yml - Teresa Llorente (May 5, 2027)
scope: "Customer Service Kanban board (ATC project) in the shared instance"
allowed_on_cards:
- "conversation number in the customer service tool"
- "name of the customer organization (not of individuals)"
- "request type, class of service, and swimlane"
- "dates created, first response, promised date, and resolved"
- "technical summary without personal data: 'sync fails when importing
a space with more than 500 tasks'"
forbidden_on_cards_comments_and_attachments:
- "names, emails, phone numbers, or other data about customers' people"
- "screenshots containing user data"
- "passwords, tokens, API keys, or access links"
- "copies of the conversations"
access:
edit: "Customer Service and Support & Platform"
read: "María Ruiz and Diego Navarro"
customers: "no access"
initial_cleanup: "old cards containing personal data are not migrated; the
old board is exported without comments and deleted from the
old tool after 30 days"
review: "spot check of 20 cards a month, for 3 months"How to read it:
allowed_on_cardsshows that you can manage the flow without personal data: the technical summary describes the problem, not the person. If Lucía needs to talk to the affected user, she opens the conversation using its number.forbidden...includes secrets (passwords, tokens, keys), not just personal data. A SaaS tool is one more system with its own risk: what isn't in it can't leak from it.initial_cleanupapplies the same principle to the migration: what shouldn't have been on the old board doesn't get carried over to the new one. Notice that the old board isn't deleted on day one: it's kept for 30 days in case something needs to be recovered, and then deleted.- Spot-check
review: a policy that nobody checks is soon forgotten. The first few weeks carry the most risk, because old habits take time to change. - The team didn't decide on this review by itself: it was carried out by the Security Officer, who also checked the data processing agreement with the vendor and where the data is stored. That's her role for any SaaS tool that handles customer data.
8.3. The Board in the New Tool
Version 2 of the board from Case Study: Implementing Kanban was moved over with no design changes on Monday, May 10, with the key ATC:
| Element of board v2 | In the new tool |
|---|---|
| Intake, Classified (commitment), Resolved (delivery) | One status and one column for each |
| In Progress: doing / ready to reply | Two statuses in the same column, with a limit of 8 for the column |
| Waiting on Another Department: L2 Support / Product / Finance | Three statuses in the same column, with no limit and with the age alert at more than 5 days |
| Swimlanes Expedite, Organizations, Users, Knowledge Base | Swimlanes based on the "Swimlane" field |
| Support mirror card | A link between the ATC card and the SOP card: each one shows the other's status |
| Markers: blocked, reopened, age | Blocker flag, "reopened" label, and visible age |
The most important change is the mirror card. When Customer Service escalates to Support, it creates the SOP card from the ATC card, using the service agreement template, and the two are linked. There's no longer a copy to maintain: the ATC card always shows which column the SOP card is in. And for the first time, MB-11 can be answered with data: you just export the SOP cards that are linked to an ATC card and compare their age with the rest.
The same flow.py script works for the Customer Service board by changing only the configuration:
CONFIG = {
"columns": ["intake", "classified", "in_progress", "ready_to_reply",
"waiting_l2", "waiting_product", "waiting_finance",
"resolved"],
"commitment": "classified",
"delivery": "resolved",
"original_created": "original_created",
"original_committed": "original_committed",
}
SLE_DAYS = 9 # expectation communicated for escalated technical tickets- The waiting columns aren't a sequence (a request can go to Support and come back to In Progress), but that doesn't matter: the script only needs to know which columns lie from the commitment point onward, and it looks for the earliest date among them.
- The first response, in working days, isn't calculated by this script but by the one in Case Study: Implementing Kanban, which takes public holidays into account. They're different metrics, and it's best not to mix them in the same calculation.
Common Mistakes and Tips
- Migrating the columns and forgetting the policies. The new board looks the same, but the rules that weren't written down disappear. Tip: take a column-by-column inventory of policies before migrating, and write down the implicit ones.
- Losing the dates during migration. Migrated cards are "born" on cutover day, and your metrics improve without anything actually improving. Keep the original created and committed dates, and archive the full export from the previous tool.
- Trusting the built-in report without checking its definition. Check which column the cycle time starts counting from and whether it matches your commitment point.
- Choosing a tool by its number of features. A tool with every Kanban feature can be a worse choice if it duplicates data with the teams you depend on. Make the weights of your criteria explicit.
- Insisting that the tool enforce WIP limits. The limit is an agreement; if the team only respects it because the tool forces it to, the problem lies in the agreement.
- Running two tools in parallel "to be safe." It doubles the work, creates discrepancies, and delays adoption. A rehearsal beforehand and a rollback criterion are better.
- Copying personal data onto the board to "have context." The board manages the flow; conversations and their data stay in the tool designed for them. Any SaaS tool that handles customer data is reviewed by the person responsible for security or data protection.
- Tip: keep your metrics script outside the tool, in the team's repository. If you switch tools tomorrow, only the configuration will change.
Exercises
Exercise 1: Reproducing the Built-In Report's Number
Modify the flow.py configuration to reproduce what the built-in report in section 7.4 was measuring: starting at Diagnosis and without original dates. What mean cycle time and 85th percentile do you get? What would you tell Íñigo?
Exercise 2: Checking the Swimlane Limits
The new tool doesn't enforce Support's swimlane limits: Expedite, maximum 1, and Platform, maximum 2 (CONWIP). Add a few lines at the end of flow.py that count the work in progress in each of those swimlanes and say whether it has room, is at the limit, or has exceeded it. What's the result on May 7?
Exercise 3: A Tool Proposal
At the May operations review, Marcos Gil proposes that Customer Service drop the customer service tool and manage conversations directly on the Kanban board "so everything is in one place." Assess the proposal using the criteria from this lesson and give a reasoned answer.
Solutions
Exercise 1
You need to make two changes: in CONFIG, "commitment": "diagnosis", and in the calculation, use_originals=False. The last line of the script already makes the second change, so all you need to do is change the commitment point and read that line:
Starting at Diagnosis and without original dates, the mean cycle time is 5.0 days and the 85th percentile is 8 days: that's the number Íñigo was seeing. Answer for Íñigo: "The report isn't wrong, it measures something else: it starts counting at Diagnosis, so it leaves out the wait in Ready, which is part of our commitment to the customer; and for migrated cards it counts from April 26. Our SLE was defined from Ready to Delivered, so the comparable figure is 8.3 days. Let's configure the report to start at Ready and write at the top of the board what each one measures." Typical mistake: using the built-in report to claim that the team "has improved by 40% with the new tool."
Exercise 2
from collections import Counter
LANE_LIMITS = {"Expedite": 1, "Platform": 2} # policies the tool doesn't enforce
by_lane = Counter(row["lane"] for row, _ in in_progress)
for lane, limit in LANE_LIMITS.items():
n = by_lane[lane]
status = "at the limit" if n == limit else ("EXCEEDED" if n > limit else "has room")
print(f"{lane:11} {n} of {limit}: {status}")Countercounts how many times each value appears; here, how many in-progress items there are in each swimlane. If a swimlane doesn't appear,by_lane[lane]returns 0.- The
statusexpression chains two conditions: if it equals the limit, "at the limit"; otherwise, if it's greater, "EXCEEDED"; in any other case, "has room." - The
importcan go at the top of the file, together with the others, which is the usual practice.
Result on May 7:
Platform is at its limit with SOP-9 and SOP-23, so the next Platform item has to wait in Ready. Since SOP-9 has been in progress for 15 days, it's a good question for the Kanban meeting: can someone help finish it, or is it blocked? Typical mistake: thinking that, because the tool "lets" you move a third card into Platform, the policy no longer applies.
Exercise 3
The proposal reduces the number of tools, but it goes against several criteria: (1) features: the customer service tool handles things a board doesn't do well (email, chat, reply templates, each customer's history); (2) data protection: it would bring onto the board all the personal data that Teresa's review has just removed from it, and it would force access to the board to be widened; (3) metrics: conversations aren't the work item in the flow (one request can have many conversations), and "message sent" would once again be mixed up with "work status," the mistake of the "Answered" column on board v1. A reasonable answer: "We already have everything in one place thanks to the conversation number on each card and the link to Support; moving conversations onto the board would cost us features and put personal data where it doesn't belong." If Marcos needs to see something specific (for example, the status of Grupo Alba's requests), he can be given a read-only view filtered by organization.
Conclusion
A tool for Kanban must make the elements of the system visible and manageable: WIP limits (that warn or block), policies written where the work happens, classes of service and swimlanes, blockers with their reasons, commitment and delivery points, and each item's age. And it must record, and let you export, the date each item enters each column, because that's where the CFD, cycle time, throughput, and Monte Carlo forecasts come from. There are suites with Kanban boards (Jira, Azure Boards), specific tools (Businessmap), general-purpose boards (Trello, GitHub Projects), flow analytics tools (ActionableAgile), and the physical board; you choose among them with criteria weighted according to your context, and an option with fewer Kanban features can be the best one if it avoids duplicating data with the teams you depend on.
Órbita experienced this in April and May 2027: Raúl migrated his board by taking an inventory of policies, archiving the history, and keeping the original dates, and Javier wrote a script that calculates the metrics independently of the tool, which revealed why the built-in report "improved" cycle time. Rosa separated customer conversations from the workflow, with a data protection review by Teresa, and replaced the mirror cards with links. But tracking tools are only one part of how teams collaborate: Hugo now works from another city, Irene works from home three days a week, and Grupo Alba attends the Sprint Reviews remotely. In the next lesson, Collaboration in Remote and Hybrid Agile Teams, you'll see how to maintain communication, transparency, and a sense of team when not everyone is in the same room.
