What is the Right Size For a User Story?
What is the Right Size For a User Story?
Join the DZone community and get the full member experience.Join For Free
Whatever new awaits you, begin it here. In an entirely reimagined Jira.
Short answer: there isn’t a universal right size for a User Story, it depends on your team, their skills and their level of domain knowledge.
Long answer: for some teams a User Story is Big, several days or weeks of work. On other teams they are small - maybe a day’s work. Both are possible, both are the right answer. Although, as a general rule smaller is better.
For me there are criteria that a User Story should meet:
- It should be small enough for the technical team to understand it and create in in a short time period
- It is small enough to move on the board sometime soon
- It should be big enough to represent business value in its own right - it might build on something that has been done before (e.g. a lower fidelity version of the same story, the new one increasing fidelity)
- It is big enough to be deliverable in its own right - you might not want to do so but if you needed to you could
When a team are dedicated to a particular product, and have worked on it for several years, and have learned about the domain - as I would expect in for in-house development operations - I expect to see larger stories. Conversely, when a team don’t know the domain - as is common with outsourced development - I expect to see small stories, and more knowledge pull from the client.
Taking a step back, a few basics:
- A User Story is not in and of itself a requirement; I like to call them “Tokens for Work to be Done”, others like to say they are “A placeholder for a conversation” both are true
- Don’t feel that you must use User Stories: if the format doesn’t fit your need then don’t use it! You can still have a “token for work to be done” and a “placeholder for a conversation” using any words you like, they don’t have to be “As a… I can … So that…”
- The User Story format does capture three very important elements: Who, What, Why so they make a good starting point and are easy to understand but if they don’t work for a particular need then don’t force it into the format
One common problem I see is teams who create really small stories in order to get them to fit within one sprint. These means large stories don’t get scheduled or teams split large stories into many small ones which have no business value themselves.
People say this is a Scrum thing, I’m not sure. Scrum doesn’t mandate User Stories, the story format came along after Scrum. True the format is widely used they has become part of Common Scrum.
What Hard Core Scrum does say is that all the work the team commit to should be done by the end of the Sprint. Which would imply a story has to be small enough to fit I the Sprint. The problem then comes: what else do you put in the Sprint? If one story is going to take more than half the Sprint you need one or more stories to use the rest of it up. Plus you hit the commitment problem - developers have an incentive to under commit and the business/custom has an incentive to over demand.
My solution - one which I’m baking into my description of Xanpan - is:
- Stories are split into Tasks during the planning meeting
- Tasks do not follow any particular format, nor do tasks have any business value
- Tasks are for the team - the developers, testers, analysts and anyone else
- Tasks should be small, a day or two at most.
- A story is not done until all the tasks are done. Stories can therefore flow across iterations, the chances of tasks flowing across iterations is low (because they are small) but they can and do.
As I’ve written before, the breakdown of stories to tasks fills (at least) three purposes:
- It is superficially an estimation exercise
- It is also a requirements elicitation process (I like the Requirements Engineer, BA, Product Owner/Manager to be present)
- It is a design activity.
So there you have it: there is no right size of a User Story.
That said, they may still be “too big” or “too small”. But what constitutes right it dependent on you, your team and how you play the game.
Published at DZone with permission of Allan Kelly , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.