A user story is a fine-grained requirement in an informal format, small enough to build in days, qualified by acceptance criteria. A Problem is an issue that damages the relationship between a user and the product; bugs and changes are both Problems.

This page is the bottom of the requirements stack: the stories that teams build, the Problems that come back, and the backlog that holds both. Most of it is practical hygiene. The hygiene matters more than it did, because stories are now read by agents as well as people, and a badly formed story produces a badly formed system faster than it used to.

User stories

Stories are popular for good reasons: they are informal, simple, easy to identify and able to represent a wide range of requirement types. The intent is to keep them small enough to build in days, and certainly within one iteration if the team runs iterations. One or more acceptance criteria qualify each story and inform its definition of done.

In theory a story follows the pattern “As a [type of user] I want [a requirement] so that [something of value results]”. In practice, a backlog of two hundred of those is hard on the eye, especially for dyslexic readers, and most tools truncate them to one line anyway. Give each story a headline and put the full sentence in the description. People refer to stories by headline in conversation; nobody says “as a customer I want to view my order history” out loud twice. Be flexible with the format at every level, as Requirements says: the right format is the one that communicates.

Stories trace up to the Integration Scenario or scoping element they contribute to. That is the context that stops a backlog being a pile.

Story anti-patterns

We mined the backlogs of a great many projects in the 2010s. The examples below are real; the names are not. Correct or remove any story that shows one of these.

No value

“As a user I want the system to generate a finance report”

The “so that” is missing, so the story is an assertion rather than a requirement. It seems trivial. It is not: as time passes, the original point of the story is lost, and the team builds the report nobody can remember the reason for. If there is no value in the functionality, do not build it. The usual excuse is “a short cut”. The short cut costs more later.

Invalid role, or a non-requirement in story clothes

“As a requirements manager I want to ensure the requirements all have acceptance criteria”

The role is a delivery-team role, not a consumer of the product’s value, and the content is an activity, not a requirement. This is a symptom of people adopting the language of stories without the concept, and it usually goes with the next anti-pattern. Work the team wants to track that is not a requirement belongs on the backlog as an Objective, estimated in time and kept out of progress figures.

Backlog as work breakdown structure

A work breakdown structure decomposes activities into smaller activities with dependencies between them. It is a reasonable way of thinking about what might need doing, and a terrible way of planning, because it encourages false accuracy along chains of tasks and takes problem solving out of the team’s hands. Teams that adopt backlogs and stories often go on doing WBS planning under new names. The symptom is a hierarchy: epics with child stories with child tasks, sometimes several levels of each. This obscures the purpose of a backlog and makes the WBS harder to see as well, so both tools lose. Flatten it. Use Integration Scenarios for context, not parents.

No acceptance

A story with no acceptance criteria is missing most of its requirement. Criteria express the NFRs the story needs in order to be valuable, the things testers will need, the scope of this instance of the story and what done means for it. Identifying them, with the Product Customer, is the step at which most of the understanding happens. Without it the story is unlikely to meet the customer’s need, and in the AI SDLC it is not ready to be built by anyone: the criteria are the constraints of the prompt and the checks that verify the result.

Points on non-requirements, and the contract that paid by the point

Story points, if used at all, indicate relative effort across a team’s stories. Normalising them across teams, converting them to person-days, or treating them as complexity defeats the purpose. The compound anti-pattern is points on things that are not requirements:

“As a test manager I want to get a testing environment this iteration” (20 pts)

An invalid role and a non-requirement, earning points and therefore inflating progress. It is a planning Objective and should be tracked as one.

Three more from the wild

“As the project I want the software to pass all non-functional requirements so that I know the quality is high”

The project is not a consumer of value and this is not a requirement. NFRs belong as acceptance criteria on functional stories, or as cross-cutting criteria on scenarios. On the project in question, no explicit list of non-functional requirements existed to be passed.

“As a Developer I want an automated build so that I can implement continuous integration”

Laudable, and an Objective. The team adopting a good practice is not value to a consumer of the product.

“As a Project Manager I want to manage all project risks”

Possibly the worst story we have met. It mixes project management with a backlog of functionality, it carried a story point estimate, and the contract was paying the supplier by story point. Everything that can go wrong with points went wrong at once: the supplier had a direct incentive to inflate estimates, to put points on non-requirements, and to split stories for revenue. See Contracts for what to do instead.

Counting items, not points

The 2017 edition spent several pages on story points and velocity. Flow practitioners have largely moved on, so we will be brief.

Points are an abstract, team-private indicator of relative effort. They are not comparable across teams, not aggregatable to programme level, and not stable over time even within a team, because stories get split and better understood as the work goes on. Velocity needs the first few iterations thrown away and three to five more before it means anything, so it becomes usable around the sixth or seventh iteration, by which time a short piece of work is over. Project managers setting a target velocity, and contracts paying by the point, are the predictable results of taking an abstract number seriously.

Illustrative: forecasting from items done tracks forecasting from points done, with less ceremonyiteration% of Release scope doneitems donepoints done (dashed)noisy startIllustrative data. The 2010s finding: no significant difference in forecast quality; the count is simpler to explain.
Illustrative data. Forecasting from the count of items done tracks forecasting from points done closely enough that the extra ceremony buys nothing. The first few iterations are noisy either way.

Our finding from the work-item data of a large set of projects in the 2010s was twofold. First, 90% of projects had over-planned iterations: when work was not finished it was simply added to the next iteration, cumulatively overloading the team, as though planning more into a time box could make more come out of it. Velocities were in fact stable past the first three iterations and until the last two or three, with team changes as the main disturbance. Second, there was no significant difference between extrapolating from the number of items done per Release and extrapolating from points done. Counting items is simpler and far easier to explain.

That was one dataset, pre-2018 and client-owned, so treat it as historical. The current corroboration is public: Vacanti’s work on flow metrics (Actionable Agile Metrics for Predictability, 2015, and since) shows that throughput in items, with work item age and cycle time percentiles, forecasts at least as well as points and velocity, and does so without the estimation meetings. Work item durations are right-skewed, so use percentiles and Monte Carlo forecasting rather than averages; see Workflow metrics and Risk, certainty and estimation. Present any forecast with its certainty.

If a team finds points useful in private, to decide what fits in an iteration, fine. They do not leave the team, they do not go on scenarios, and they do not go in contracts.

Problems: bugs and changes unified

Bugs and changes are two ways of recording the same thing, and the distinction between them is usually drawn in one of two dysfunctional ways:

“Bugs the supplier pays for; changes the customer pays for.”

“A bug is when the product does not meet the requirement; a change is when the customer wants the requirement changed.”

The first creates a commercial pressure against the word “bug”. Suppliers argue that everything is a change; some large vendors have explicit internal policies to that effect. The result is hours of conference calls negotiating individual tickets, and the collaborative relationship degrades into a transactional one. The second assumes a product can be perfectly specified up front, which the weight of industry evidence says is either wrong or prohibitively expensive for almost all software. There is too much implicit information in requirements, software and the way people use products for the line to be drawn by reading the spec.

So we define the Problem by its effect on the user, which is the only thing that matters, and we deal with the money separately. Product Customers prioritise bugs, changes and new requirements alongside existing requirements on the same backlog, within each Release. If something is too big to absorb without a significant change to scope, time or cost, the Product Customer escalates to the Business Customer. Where a contract is involved, set tolerances within which supplier and customer can decide immediately, and reserve contractual change for the genuinely major. Anything larger still becomes a new customer request for the portfolio. Decide collectively whether a Problem is a bug, a change or a new requirement, if it matters, and whether it is within tolerance; do not negotiate ticket by ticket.

Most teams will go on using “bug” and “change” in their tools, and that is fine. They are all work prioritised on a backlog and selected for development. What does matter is context: a bug found by the team before release is good news (a quality problem found early), and a bug escaped to operational use is bad news. Flag them so that metrics can be filtered by context, and watch for measurement-driven behaviour turning one type into another to protect a chart.

Changes before acceptance, bugs after

When feedback loops are short, testing often finds a Problem with a requirement that is still in development, or thought done but not yet at its required level of done. The team has a choice: reopen the requirement, or raise a bug against it. Reopening lengthens lead and cycle time, which looks bad in workflow metrics but is honest for work in progress. Raising a bug lowers Quality Confidence, which also looks bad but is honest for work that was accepted.

A Problem is a change before acceptance and a bug after it: the Definition of Done is the dividing lineDevelopedProduct testedAcceptedLiveProblems raised here are Changesthe story is not done yet: reopen it, keep the lead time honestProblems raised here are Bugsraise against the product; count in quality metricsthe line: acceptance by the Product CustomerEither way: an issue damaging the relationship between a user and the product, prioritised on the same backlog.
The dividing line is acceptance. Before the Product Customer accepts a requirement, Problems against it are changes and the requirement is reopened. After acceptance, Problems are bugs against the product.

The rule: requirements that have not reached the highest level of acceptance at the team’s scope take changes; once accepted as done, bugs are raised against the product, and the requirement is not reopened. For a delivery team, the line is the Product Customer’s acceptance. For an integration team whose product family has not reached its own acceptance, Problems are changes or, if large, new Integration Scenarios; Problems with a contributing product go back to its team; once the family is accepted, bugs are raised against the family. All of this needs done to be a stack rather than a binary, which most tools support as sub-states of closed or as multiple closed states. See Definitions of Done.

Problems raised by machines

In the AI SDLC, a growing share of Problems is found by automated checks rather than people: scenario tests, fitness functions, security scans, evaluation suites, production observability. The definition holds. A failing accessibility scan is a Problem because it predicts damage to a user’s relationship with the product; a failing cost fitness function is a Problem because it damages the organisation’s. Two practices keep this sane:

Agents can also raise Problems in the human sense: a review agent that reads a scenario test’s failure and says what the user would have experienced is turning a red build into a Problem statement, which is a useful translation.

Working with backlogs

A backlog is a statement of scope as well as a list. The must-haves are 100% of the current commitment, so completion against them can be measured to a level of done and extrapolated forward. The would-likes are a wish list for the current scope, which means a backlog is theoretically endless and a multi-release backlog is hard to look at.

A backlog tagged by Release, with the lowest items of the current Release on the bubbleRelease 4 (current)Reorder from history: S12S35 Repeat an orderS6 Saved paymentS24 Track deliveryFlag suspicious order: S41S42 Analyst queueS43 Export to CSVS19 Print receipton the bubble: at risk, agreed with the Product CustomerRelease 5 and laterS50 Gift wrappingS51 Loyalty pointsS52 Multi-currency...filtered away until Release 4 is nearly doneOrder the current Release with the customer: high, medium, low or a forced rank. Everything else is a wish list.
Tag by Release and filter the rest away. Within the current Release, order the items with the customer and mark the lowest band as on the bubble: honestly at risk.

Instead of an elaborate prioritisation scheme:

  1. Tag every item by Release. Only the immediate Release is worked in detail; everything else is filtered out of view until the current Release is nearly done.
  2. Order the current Release with the customer. High, medium, low or a forced rank; either is fine, provided the Product Customer agrees it.
  3. Mark the bottom band as on the bubble. The lowest n items, with n agreed between the team and the Product Customer, are at risk and everyone knows it. This is an honest reflection of how software delivery goes, and it is far better than discovering at the end which items were silently at risk all along.

Progress is counted in items done per Release to the relevant level of done, with its certainty. Items on the bubble that do not make it roll into the next Release’s tagging exercise, where they compete again rather than inheriting a place.

Stories as prompts

A story is now, often, the text an agent builds from. Everything above applies with more force:

The productive direction is the other way: let agents draft stories from scenarios. Given an Integration Scenario, its criteria and the products involved, an agent can propose the stories each product needs, with draft criteria that are consistent with the scenario’s. The team and the Product Customer correct them. The draft stories inherit the value statement from the scenario, which is the part people most often leave out when writing from scratch. Keep the headline-plus-description format, keep each story buildable in days, and keep the stories traced to the scenario they came from.

Last updated