Tuesday, August 21, 2012

Handling ticket issues with Kanban

David J Anderson's book on Kanban shows us that a way to handle ticket issues is by attaching a color tag to a ticket to make it visible. An issue is ticket-related event that becomes an impediment to its value flow, such as a defect, insufficient definition, unresolved dependency, etc.


What I encounter often is people have natural tendency to move the ticket to where the dependency lyes. Although Kanban does not stop us from doing so, this might not be the best of actions. If, for example, in the images here the dependency is on Patient Checkin it might be tempting to move the ticket to the Checkin column.


Doing this brings some difficulties. 
  • We lose track of where the issue occurred (Treatment)
  • Quantification becomes tricky. Cycle time measurement for the ticket becomes unreliable. It is better to leave the ticket under Treatment so that we know the issue occurred during Treatment and the red ticked affixed to the yellow ticked indicate the dependency with Check-in. This is better because we don't lose track of where things are at and quantification remains unaffected
  • WIP handling becomes very tricky. What would happen if Checkin is at maximum capacity and we tried to move the ticket from Treatment to Checkin? We either violate WIP or keep the ticked under Treatment on some sort of stale state until Checkin has capacity (ugly)
  • Root cause analysis becomes harder also. It is better to keep log of the activities under Treatment, where the issue actually occurred to make root cause analysis easier, otherwise it becomes a bit harder to understand the space-time-event relationship


There is another solution by Duane Bradbury, Alex Hui and Taimur  Mohammad, which I like. I'm posting this with permission (thanks Duane!).

This is how we treat defects and the parent standard card...


1- card is in progress in QA,  



2) when a defect is discovered it is created in the Fix QA cell...


3) if QA is unable to continue the Card is moved down to Fix QA as well.  (if not the card remains in progress until they are unable to continue,   maybe the defect will be fixed before they are stuck)



4) the defect lives in this location until it is addressed/assigned, basically 
if someone is working on it, then it goes to where that is.   for this example it is the developer looking into it.   so the defect moves to the Build in progress...


so at this stage it is known that these cards are related (due to naming conventions) and it also shows the status.

5) once the defect is addressed and resolved it is moved into completed.  flagging the QA to pick up the defect and see if it resolved.  retesting




once the QA is able to pick it up both cards move into in progress QA.   showing retest is happing.   


Although this solution requires extra real state for the Fix swim lane it makes visibility and tracking much easier. 

—Masa K Maeda

Visualizing cycles in Kanban

At a training session in Kitchener Waterloo, Canada. I was asked how to visualize and handle cycles in a Kanban board. The images below show a way to do it as a physical board and on an electronic board. Tickets within a cycle move from left to right, from one column to the next until and cycle back as many times as necessary and once done they move to the Done column at the the end of the cycle. Note that columns inside the cycle can contain their own Done columns.

For quantification purposes it is better to do so for the entire cycle only and not for columns inside the cycle. This is because quantification inside the cycle becomes tricky an might not necessarily be of much use (if anything, some might need to quantify the number of cycles but even that may vary from one task to another). If you are using an electronic tool make sure to get your settings for quantification adjusted accordingly.