How Agile Creates and Manages WIP Limits
There are several ways to manage your Sprints within an Agile framework - here's what's worked best for me, and why I like it.
Join the DZone community and get the full member experience.Join For Free
As I’m writing the Agile project management book, I’m explaining how Agile creates and manages WIP (Work in Progress) Limits.
Iteration-based Agile manages WIP by estimating what you can do in an iteration. You might count points. Or, you use my preference, which is to count the (small) stories.
In this image, there’s a limit of eight items in the Ready column, three in Dev and unit test, two in System test. The interesting question is how did this team decide on these limits?
This is a large-ish team. They have eight people aside from the PO: six developers and two testers. They decided to use a reasonable approximation for deciding on WIP limits:
- Take the number of people who work on a given column. That’s the numerator. Here, for the Dev and unit test column, it’s 6.
- Divide that number by 2. That gives you 3 as the WIP.
This team happens to have a policy of “No one works alone on the code,” so their approximation works well. You might have a product that requires a front-end, middleware, and back-end developer for each feature. You would have a WIP limit of 2 on the Dev and unit test column because you need three people for each feature.
Now, there are only two testers on this team. How did they get to a WIP limit of 2?
The testers do not work together. They each work independently. That means they can each work on a story. They can’t work on more than two stories at a time because they each take one story. This team agreed to work on stories until the story is done. There is no “Stuck” or “Waiting” column.
Every so often, the testers need help from the developers to complete a story. That’s because the developers didn’t realize something, or implemented something not quite right. In that case, the testers walk over to the developers and negotiate when the developer is available to help. Often, it’s right away. Yes, the developers stop what they are doing, because finishing something they thought was done is more important than starting or completing something new.
If you need a Stuck or Waiting column, you might add WIP limits to that column also. Why? Because you don’t want that column to turn into a purgatory/limbo column, where partly finished stories go and never emerge. You might call it Urgent, although I tend to reserve Urgent for support issues.
If you use iteration-based Agile, and you have unfinished work at the end of the iteration, consider using a kanban board so you can see where the work in piling up. You might have a problem with “Everyone takes their own story.” (See Board Tyranny in Iterations and Flow.)
If you have read Visualize Your Work So You Can Say No, consider adding WIP limits to your board. You might have noticed I say I don’t use WIP limits on my paper board because the paper, the size of my board, limits my work in progress.
Published at DZone with permission of Johanna Rothman, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.