design-practice-repository

Summaries of artifacts, templates, practices, and techniques for agile architecting (DPR-mm) and service design (SDPR-nn).

DPR Git Pages HomeArtifacts Index

Artifact/Template: User Stories

also known as: Feature, Backlog Item

A user story is an invitation to a conversation about a particular system feature, and may also capture the results of such conversation.

Motivation (Addressed Information Need)

The Agile Alliance describes the role and purpose of user stories in its glossary entry for them as “divide feature into units that fit into a single iteration” and advises to INVEST in actionable insights on user wants and needs.

Usage (Produced and Consumed When)

User stories come in and out of Story Splitting. Stories also are excellent input to API design and system decomposition.

User stories are used in sprint planning sprint reviews, both when developing a Minimum Viable Product (MVP) and in later iterations. They are one way of communicating about and eliciting functional requirements (or features).

Template Structure

A popular format “role-feature-benefit” (or who-what-why) comes from Connextra:

As a [role/persona], I want to [feature, in verb form] so that [benefit].

See the glossary entry at the Agile Alliance for more information about the template (and user stories in general).

Example(s)

The Context Mapper and MDSL demo described in ZIO’s blog starts with this story that employs the role-feature-benefit template:

As a Researcher 
I want to create a PaperItem 
  with its "title", "authors", "venue" 
  in a "PaperCollection"
so that other researchers can find and cite the referenced paper easily, 
  and my h-index goes up.

Tools

User stories typically are created and updated transiently in issue tracking systems. They can also go to wiki pages, specification and documentation documents.

The Context Mapper DSL has first class support for an extended user story format.

Hints and Pitfalls to Avoid

Origins and Signs of Use

The role-feature-benefit template usage is rather easy to spot; whether or note INVEST is achieved requires a little more effort.

The presence of one or more of the “three Cs” Card, Conversation, Confirmation can also indicate use.

See glossary entry at the Agile Alliance for “Origins” information.

More Information

Mike Cohn’s book “User Stories Applied” is a seminal reference (@Cohn:2004).

Many experience reports at Agile conferences deal with user stories; see this collection, for instance.

Data Provenance

title: "Design Practice Repository (DPR): User Stories"
author: Olaf Zimmermann (ZIO)
date: "03, 30, 2021"
copyright: Olaf Zimmermann, 2020-2021 (unless noted otherwise). All rights reserved.
license: Creative Commons Attribution 4.0 International License