User Story Title
When creating a user story work item in a tool like GitHub or, Azure DevOps, Should the “As a user, I want” phrase be used for the title, or should it be placed in the description?
Titles should be short and pithy, but meaningful. Think of them as communications shorthand that give the team a handle to refer to, not as lengthy descriptors. The story labels should make it easy to differentiate stories from one another.
Effective Story Titles
What constitutes a good or bad title will vary a lot based on your organization and project. However, there are generally some common elements.
Bad titles are often too short to be meaningful, or too long to be easy referents. They are at best useless, and at worst they create unnecessary cognitive load. Consider the following examples:
Task A, Task B, Task C
While there are occasionally use cases for ordinal or non-descriptive titles, it simply begs the question of "What is the actual task we're talking about?" In other words, it's not descriptive enough to provide context when referring to the work item, or to differentiate the tasks from one another.
"As a Stack Exchange participant, I want a simple title that conveys useful information so that I can attract good answers."
Titles like this are too long to use as referents. They also represent a needless duplication of the contents of the user story. Do you want to repeat this title (and dozens of others like it) every time you talk about a work item, or when planning work? Probably not. It's simply not effective as shorthand or as a conversation placeholder.
Now, contrast these items with some better examples for the same work items:
Database Table Update, Rails Version Upgrade, Deploy Release 2.0
You don't have to dig into the meat of these work items to get a sense of what they're about. A good user story will contain additional context, but these types of short descriptions usually provide enough context to identify who should look at or discuss the story within the team, and make it relatively easy to differentiate the stories from one another. In other words, they are great labels.
"Identify optimal title length."
Here the title acts as a summary of the story's contents. You can tell at a glance that it's probably a story spike or research task, and that it's about titles and lengths. Because it's a short but descriptive handle, team members can say "I'm working on the title length story today," and be easily understood by the rest of the team.
There are as many ways to write user stories as there are teams using them, and the most effective way to label or title your stories (if you even need to do it at all) will depend on your processes, tools, project plan, and communications objectives. There's no objectively "best" way to title user stories, but it's pretty hard to go wrong with clear labels/handles for communications shorthand.