Skip to main content

Limiting Work in Progress (WIP) in Scrum with Kanban - What / When / Who / How

May 11, 2018

Co-Creating and teaching the new Scrum.org Professional Scrum with Kanban class has given me an opportunity to get back to geeking out on WIP limits, flow metrics and all things Kanban. And it's been fun!

One of the key Kanban practices is Limiting Work in Progress. If you want to be pedantic, actually what this practice aims for is Reducing and stabilizing Work in Progress. This improves flow, provides predictability, and is actually even more important for creating a pull-based Kanban system than visualizing your workflow using a Kanban board. I worked with several clients that limited their WIP but didn't use Kanban boards. One could argue that maybe this practice deserves to be first in the list of Kanban practices, ahead of Visualization.

Work in Profess

Anyhow, when a Scrum Team implements Kanban they should definitely figure out how to limit and reduce their Work in Progress. This is a key part of their definition of "Workflow". Now, a question comes up:

Who should define the WIP Limit?

Let's assume the team is using Kanban to improve the Sprint flow by visualizing and managing flow in the Sprint Backlog. Sprint Backlog is owned by the Developers so it would make sense for them to own their workflow and specifically the WIP limits in this case.

What if the team is using Kanban from a more holistic perspective, starting from the Product Backlog and including refinement work as well? In this case, it would be the Scrum Team that would own the workflow and therefore would need to discuss WIP limits.

Now, what if the Developers actually want to involve the Product Owner in their Sprint flow - e.g. to review and accept a story during the Sprint before it goes through testing. Who decides whether to do this? Who owns the Sprint Backlog in this case? I think it is the Scrum Team. And this is generally where teams should lean - while there are specific accountabilities on the Scrum Team, most importantly the Scrum Team is accountable to working effectively to deliver value. 

Ok, so we understand who defines workflow and therefore WIP limits.

Should WIP limits be changed to deal with mid-sprint high-priority work?

Now let's assume a team is mid-Sprint and there's an important valuable item the Product Owner wants to add to the Sprint Backlog. It is aligned with the Sprint Goal. The team is currently at their WIP Limit. Could they add this item? Should they? What needs to happen to the WIP limit?

My take on this is that first of all a decision needs to be made whether to pull this item into the Sprint Backlog. This discussion isn't related to Kanban at all. It is a core Scrum question and the answer is that it is up to the team to agree to pull a new item into the Sprint Backlog. The Sprint Goal can be used to assess how aligned this item is with the current focus.

In case the item is pulled into the Sprint Backlog, then the Developers need to figure out whether they can actually start it right away. This depends on the WIP limits and the current WIP. If the team is at their WIP limit they shouldn't pull in that new item until some room frees up. If their backlog items are pretty small, an empty WIP slot will free up pretty quickly. If items are big, it can take a while.

The longer it might take to get a normal pull slot ready, the more pressure there might be to actually expedite this card. What is expediting? going beyond the current WIP limits and pushing this item along on top of the existing flow. The typical way to do this is NOT to change the WIP limit definition but to go above WIP and note a WIP exception. These exceptions can then be a topic for inspection and adaptation come time to retrospect.

When should the WIP limits be inspected and adapted? 
In general, I don't recommend changing WIP limits on a whim just because there seems to be a need during the Sprint. I'd rather see an exception and discussion rather than hide the problem under a policy change. 

Most of the time, Scrum Teams should adjust WIP limits during the Sprint Retrospective out of an attempt to create a better flow strategy, not a way to manage at the tactical level. This is similar to the definition of Done. We don't change the definition of Done during a sprint just because we have a problem creating a Done Increment. We note the exception, maybe even fail to create a really Done Increment, and we discuss the definition during our Retrospective.

Having said that, there is nothing stopping them from adjusting WIP limits at ANY point throughout the Sprint.
In other words, There's a difference between CAN and SHOULD

How should Scrum teams limit their WIP? 

One last thing to note about limiting WIP is that while we typically talk about limiting WIP as per-lane constraints on your workflow, this is actually just one specific way to do it. You could limit the amount of work in progress per person, per the entire team throughout their workflow, or actually, you could limit WIP by time. E.g. "we won't work on more than 10 items this week". Hey - that sounds familiar! #SprintForecast.

Interested to learn more about Limiting Work in Progress in a Scrum context? Check out the Professional Scrum with Kanban class as well as the Kanban Guide and Applying Professional Kanban class at ProKanban.org

 

 


What did you think about this post?

Comments (23)


Erez Morabia
06:00 am May 13, 2018

Great post Yuval - thanks for sharing! This is a must read before taking the PSK I exam.
I found one sentence very hard to understand in the Kanban Guide: "The creation and adaptation of the definition of Workflow may impact or be impacted by existing artifacts. The Products Owner's and Development Team's accountabilities and responsibilities over those artifacts remain as described in the Scrum Guide". Your post explains this sentence very well. Thank you!
"If the team is at their WIP they shouldn't pull in that new item until some room frees up" - I believe you meant "WIP-limit" (not just "WIP"). Correct?


yuvalyeret
09:51 pm May 13, 2018

Thanks for the comment Erez! yes you're right I fixed this one.


Omer Meshar
08:21 am May 14, 2018

Thanks Yuval, great post.
I have a clarification question - you wrote both "Scrum team" and "Dev(evlopment) team" when trying to understand who owns the WIP limit. Do you differentiate between the two, or do you mean the same for both terms? I would assume the latter.


gazza8
08:39 am May 31, 2018

Indeed there is a difference: "Scrum Team" = SM + PO + Dev Team.


yuvalyeret
06:59 pm July 27, 2018

One comment I'd add is that while I do recommend teams look at their WIP limits and inspect and adapt them during the Sprint Retrospective, there is nothing stopping them from adjusting WIP limits at ANY point throughout the Sprint.

In other words, There's a difference between CAN and SHOULD


Yaroslav Novosolov
03:30 pm August 8, 2018

As for "If the team is at their WIP limit they shouldn't pull in that new item until some room frees up".
Yuval, does it mean that 'should' is not equal to 'can' in this case too? Can the team pull in a new item despite of the fact that WIP limit is reached? Or the team must wait until some room frees up or while WIP limit are not increased?


Bill Phillips
03:12 pm May 13, 2019

It seems to me that if there is an item which is being pressured to be expedited, it's more of an issue of prioritization. If it were moved up higher, it would be processed first, instead of waiting for a slot.
Once the sprint has begun, if there is pressure to get one requirement completed outside of the priority set during sprint planning, that impacts the self-governance of the team.


Dmitriy
01:58 pm July 4, 2019

Hi Yuval @yuvalyeret:disqus,
Could you advise how "limit WIP by time" may sound?


yuvalyeret
12:21 am July 9, 2019

Hi Dmitriy - Limit WIP by time sounds very very similar to Scrum Sprint Planning -
Let's figure out our Sprint Backlog (WIP Limit) for the next X weeks (==time) and let's focus on Sprint Backlog and NOT pull in other work until the end of the timebox.


nihil sumnus
06:30 pm January 8, 2020

Great article Yuval, and I really like your workflow graphic. However, and just because of the way I work and think, my personal preference would have the 'ready' column on the left, and the 'doing' column on the right so that as things move from left to right in the categories, they also move left to right within them. But, again, that's my own preference. Thanks for sharing! - (edit after thinking about different workflow models) I can see however, that if your workflow is a 'pull' instead of a 'push', that this would make sense.


yuvalyeret
03:20 am January 9, 2020

Brian - thanks for the comment and for thinking about this!
if we have the 'ready' column on the left, it would be impossible to mark something as "ready" when the downstream state is at its limit. And it creates the psychological effect of "it's off my plate now", "out of my WIP" if we do things that way. We want to create the mindset of "we're all together" and that if it's ready but not pulled yet, it's something that should be taking a WIP slot on my end and stop me at some point from pulling/starting something else.

Suggest you try to create a kanban board and play a bit with both modes and the flow of work and see what I'm talking about...

Cheers,
Yuval


Patty Salmon
05:00 pm February 26, 2020

Thanks for the article! I love WiP, I started my journey with it, reading a short https://kanbantool.com/kanb... text, feeling that it wasn't for me probably. But after many retrospective meetings showing me that this solution really has sense, I'm finally 100% convinced to it. I'm glad you write about it in a little different context than mine, it's very interesting.


Lotfy Sabry
03:54 pm September 21, 2020

Hi Yuval, thank you for the clear explanation, you said Dev Team own Sprint Backlog, and also said WIP Limited should be respected but exception could happen, all these are clear. The question now how the team will handle this exception do they take it and work on it and visualize that they are above the WIP limit or they add it to Sprint Backlog and only start when their WIP limits allow it?


yuvalyeret
06:07 pm September 21, 2020

Thanks for the comment Lotfy - The answer is it depends...

It is similar to the answer to "What would a Dev Team do if something that's not in the Sprint Backlog comes up during the Sprint?" Ideally, it would wait in the Product Backlog until the next Sprint. Sometimes it would be time critical and very valuable so worth taking on some "flow debt" for. As long as the team is intentional about this and doesn't automatically go above WIP limits, it is ok to make an exception once in a while. If it becomes the "norm" then a healthy discussion about WIP limits and commitment/discipline to them as well as whether they're realistic needs to take place.


Saurabh Sharma
02:41 am December 25, 2020

Again a question of CAN or SHOULD. can team pull that extra item even if the they are at WIP limit. They CAN (in a way by increasing the WIP limit). But ideally they SHOULD NOT. And wait for room to free up.
In either case this should be a topic for retrospective.


Saurabh Sharma
02:43 am December 25, 2020

If the workflow has items (e.g. story acceptance) that have to be acted upon by folks outside of dev team (developers) e.g. PO the yes it's scrum team decides the WIP limit.


SK
07:38 pm January 13, 2021

Am I correct in assuming that the ready indicates those PBIs that have had there work completed in regards to their current stage, so that they can then be pulled into the preceeding stage once that stages WIP limit allows that to happen?


yuvalyeret
02:37 pm January 14, 2021

SK - thanks for the comment. Yes, generally the Ready queue indicates work that is "Ready" to be pulled once someone has capacity to pull it AND that next downstream lane is below its WIP limit. Hope this makes sense.


SK
06:23 am January 16, 2021

Thank you


Durgesh Nayak
02:05 pm June 18, 2022

Hi Yuval. Thank you for this article. I was wondering if the discussion on WIP limits should also include Classes Of Service.


yuvalyeret
07:24 pm July 6, 2022

Durgesh - thanks for the question. The discussion about WIP limits is part of a wider conversation about the Definition of Workflow for a kanban system, which can include classes of service if these are used in the system.

You may note though that classes of service aren't a core practice in Professional Scrum w/ Kanban and/or the Kanban Guide.

Here's one one of my favorite explanations for why that is


Max Akimov
04:13 pm February 7, 2023

Hi Yuval
Thank you for explanation of usage WIP Limits while working with Scrum Team, describing corner cases and what solutions are.
FYI, unfortunately, for some reason the image is not displayed in this article. Hope you can fix it easily.


yuvalyeret
04:29 pm February 7, 2023

https://uploads.disquscdn.c... Thanks for the heads up Max - we will fix this as soon as we can. Meanwhile here's the missing image