Open In App

Kanban – Agile Methodology

Kanban is a popular Agile Software Development Methodology. It is basically a signaling device that instructs the moving of parts in a ‘pull’ production system, developed as part of the TPS (Toyota Production System). Kanban is about envisioning the existing workflow in terms of steps. These steps can be created on the whiteboard. 

The main aim of Kanban is to reduce WIP (Work-In-Progress), or inventory, between processes by ensuring the upstream process creates parts as long as its downstream process needs it. The goal of the Kanban execution is to ensure work items move to the next steps quickly to realize business value faster.



The Kanban method is an approach to evolutionary and incremental systems and process change for organizations. A work-in-progress limited pull system is used as the central mechanism to uncover system operation (or process) complications and encourage collaboration to improve the system continuously.

Electronic Kanban boards are also available in ALM tools like Rally (CA Agile), Jira, SwiftKanban, LeanKit Kanban, etc. stages could be configured in these tools, and movement of tickets between stages could be viewed in these tools.



When Would The Kanban Approach Be Needed?

Kanban is best suited in the below scenarios:

However, Kanban might not be the right fit for projects where:

Kanban Board/Card

It is critical to understand the visualization of workflow stages in the task execution pipeline. Kanban board provides a simple way to understand the process. It can be explained as follows:

  1. Every request received is put on the Kanban board. 
  2. A column on the board represents a stage (these stages are termed as the Work stage) during the lifecycle of bugs/ tickets. For instance, the Kanban board can have 4 stages- Received/ Acknowledged, In-progress, UAT & Done. 
  3. The received stage could be called a “Backlog” also. 
  4. The team could decide the names for the phases based on the terminology used by their respective teams.
  5. Kanban board could be a simple whiteboard on which sticky notes could be used with ticket details or an electronic Kanban board could be used. 
  6. ALM tools like Rally/ Jira could be configured to use the Kanban board.
  7. The board can give a signal in case the bugs/ tickets are stuck in one stage for a long. 
  8. For electronic boards, one can configure the Kanban board in a way that tickets/ user stories along with the time stamp are visible. 
  9. For whiteboards that are maintained manually, the team can enter the date/ time.

Sample Kanban Board

From the sample board above, these can be inferred about Kanban Boards or Cards:

  1. Workflow: Backlog -> Acknowledged -> Development -> Testing -> Deployment/UAT -> Done
  2. Work stages: Acknowledged, Development (In Progress), Development (Ready), Testing (In Progress), Testing (Ready), Deployment/UAT, Backlog (Arrival Queue), Done (Finished Stage)
  3. Work Items: Two types of tasks (Type 1 and Type 2) are represented by work items  

Principles of Kanban

Kanban is based on four key principles which are mentioned below:

  1. Start with the existing process: It is a change management method that starts with the existing process. Changes are done in the system in incremental and evolutionary ways. Unlike Scrum, there’s no specific process or roles defined in Kanban.
  2. Agree to continue evolutionary and incremental changes: After starting with the existing process, the team must agree on continuous, incremental, and evolutionary changes. The changes should be small and incremental. Rapid and substantial changes may be effective but they will be subjected to larger resistance as well by the Team.
  3. Admire current roles, processes, responsibilities & titles: Though Kanban suggests continuous incremental changes in the process, it respects current roles, responsibilities, and job titles. This helps the team to gain confidence as they get started with Kanban.
  4. Leadership at all levels: Kanban does not expect leadership from a specific set, rather the actions of leadership at all levels in the organization, are very much encouraged.

Kanban Practices

The following are the six core Kanban practices:

  1. Limit WIP: Limiting Work-In-Process (WIP) implies that a pull system is executed on either parts or the whole workflow. It (PULL system) will act as one of the key stimuli for incremental, continuous, and evolutionary changes to the system. Limit WIP assigns explicit limits to the number of items that may be in progress at each workflow state.
  2. Visualize: Visualizing the workflow and making it visible is important so as to know how work proceeds. Without understanding the flow of work, incorporating the right changes is difficult. Usually, a card wall with columns and cards is used to visualize the flow of work. Different states or steps within the workflow are represented by the columns on the card wall.
  3. Manage flow: Flow of work through every state within the workflow should be observed, measured, and informed. By managing the flow vigorously, the incremental, continuous, and evolutionary modifications to the system can be assessed to have negative or positive effects on the system.
  4. Improve Collaboratively, Evolve Experimentally: Kanban encourages small incremental, continuous, and evolutionary changes. Whenever teams have a common understanding of concepts about work, process, workflow, and risk, they are more likely to be able to form a shared understanding of a problem and suggest enhancement actions that could achieve a consensus.
  5. Implement Feedback Loops: Early feedback from clients and the pull system are important in Kanban. If we get feedback from different stakeholders and processes, it will help to eliminate risk and optimize the delivery process.
  6. Make Policies Explicit: Until the mechanism of a process is not made clear, it is difficult to hold a debate and discuss ways to improve it. Without a clear understanding of how work is truly done and how things actually work, any conversation of complications tends to be anecdotal, emotional, and subjective. With a clear understanding, it is possible to hold a more rational, empirical, objective discussion of issues. It is more likely to facilitate consensus around improvement suggestions.

Kanban Workflow – How does Kanban Pull System Work?

1. Visualize your Workflow:

2. Establish a Pull System:

Kanban Pull System

3. Limiting WIP: Create a Pull system upstream by setting WIP limits, and also ensure that the team Stops beginning and Starts Finishing.” After finishing a task in the current stage, team members can pull a task from the previous stage, thereby freeing up capacity in the preceding stage. This keeps going till the input of the bugs/ tickets.  

The sample Kanban board with WIP limits introduced is given below:

Sample Kanban Board with WIP Limits

Let us understand setting up a WIP limit for a phase in Bug-fix lifecycle with an example:

Project ABC is a maintenance project with a Bug fix in scope. This project needs to set up a Kanban board with WIP limits for the flow of Bug fixes. Let us try to understand how WIP limits are set for the Impact Analysis phase.  

Similarly compute WIP limits for Development, Testing phases. As a preferred rule WIP limit should not be more than the number of people working on the stage.

Illustration of WIP limits

In case the WIP limit is breached one could record them as well on the board and provide permissible limits for breaches. In case the WIP limit is breached more than the limit set, WIP limits could be re-computed.  

Kanban board can include Blocked tickets information also. WIP limit should be computed based on the project’s context.

4. Apply Pull Signals: The use of pull signals to indicate that fresh tasks are ready to be handled is an important part of a pull system. When the quantity of cards in a column falls below the specified limit in a Kanban pull system, a pull signal is generated. This tells the previous column that a new job is ready to move forward. No further tasks may be pulled once the work in progress limit has been reached unless an outstanding one has been completed first. This helps to avoid team burnout by ensuring that they only have as much work as they can handle. It also aids in the avoidance of jobs being overlooked.

Lead Time and Cycle Time

Lead Time and Cycle Time

Cycle time is measured in amount of time per unit/process/task
Lead time is measured in elapsed time (weeks, hours, seconds)

Little’s Law gives the best description of the link between Cycle time and Lead time-
Cycle time x WIP = Lead time (Work-In-Progress)

Cumulative Flow Diagram

In Kanban, a cumulative flow diagram (CFD) is an advanced analysis tool. It allows teams to see how their workflow efforts and overall project progress are being visualized. Teams can use the cumulative flow diagram to track how stable their workflow is, anticipate bottlenecks so they can alter their workflow accordingly, and make processes more predictable.

The following are three crucial parameters to look for in the CFD:

Cumulative flow diagram

How to Calculate Lead Time and Cycle Time

If the correct project management software and all the information is available then calculating the lead time and cycle time of any project is easy. The Cumulative Flow Diagram (CFD) is the easiest and most widely used method of estimating both lead and cycle times.

Kanban Approach

The Kanban approach involves three steps:

A. Visualize: This step involves defining and visualizing the workflow.

B. Quantify: This step involves three activities:

  1. Startup:
    • Understand and/ or estimate WIP.
    • Create initial WIP limits.
  2. Adjust: 
    1. Study the feasibility of WIP limits.
    2. Adjust the limits if required.
    3. Develop statements on the limits and policies.
    4. Train the team on a pilot basis.
  3. Measure:
    • Define current problems.
    • Convert them to measurements.
    • Derive metrics.
    • Establish a metrics collection system.
    • Define the tools used to analyze metrics and data.

C. Optimize: This step involves the following three activities-

  1. Identify and Improve:
    • Analyze data.
    • Establish future value stream.
    • Identify improvement opportunities.
    • Prioritize.
    • Develop action plans.
    • Implement action plans.
    • Ensure improvement.
  2. Establish standards:
    • Revisit limits and policies.
    • Train the team.
    • Implement a new process.
  3. Envision for continuous improvement:
    • Set up the system to continuously monitor and improve processes.
    • Make the process, process-driven rather people-driven.

Kanban Approach

Benefits of using Kanban Framework

Kanban vs Scrum

S No.

Kanban 

Scrum 

1. Planning, release, and process improvement can have separate cadences. Iteration is timeboxed.
2. For planning and process improvement, the lead time is used as the default metric. For planning and process improvement, Velocity is used as the default metric.
3. Cross-functional teams are optional. Cross-functional teams prescribed.
4. Project Tracking: CFD can be used to understand workflow progress.  Project Tracking: Burndown chart is prescribed. 
5. WIP limited directly (per workflow state).  WIP limited indirectly (per sprint). 
6. Can add new items whenever the WIP limit falls.  Cannot add items to ongoing iteration. 

Article Tags :