- Blog Categories
- Project Management
- Agile Management
- IT Service Management
- Cloud Computing
- Business Management
- Business Intelligence
- Quality Engineer
- Cyber Security
- Career
- Big Data
- Programming
- Most Popular Blogs
- PMP Exam Schedule for 2024: Check PMP Exam Date
- Top 60+ PMP Exam Questions and Answers for 2024
- PMP Cheat Sheet and PMP Formulas To Use in 2024
- What is PMP Process? A Complete List of 49 Processes of PMP
- Top 15+ Project Management Case Studies with Examples 2024
- Top Picks by Authors
- Top 170 Project Management Research Topics
- What is Effective Communication: Definition
- How to Create a Project Plan in Excel in 2024?
- PMP Certification Exam Eligibility in 2024 [A Complete Checklist]
- PMP Certification Fees - All Aspects of PMP Certification Fee
- Most Popular Blogs
- CSM vs PSM: Which Certification to Choose in 2024?
- How Much Does Scrum Master Certification Cost in 2024?
- CSPO vs PSPO Certification: What to Choose in 2024?
- 8 Best Scrum Master Certifications to Pursue in 2024
- Safe Agilist Exam: A Complete Study Guide 2024
- Top Picks by Authors
- SAFe vs Agile: Difference Between Scaled Agile and Agile
- Top 21 Scrum Best Practices for Efficient Agile Workflow
- 30 User Story Examples and Templates to Use in 2024
- State of Agile: Things You Need to Know
- Top 24 Career Benefits of a Certifed Scrum Master
- Most Popular Blogs
- ITIL Certification Cost in 2024 [Exam Fee & Other Expenses]
- Top 17 Required Skills for System Administrator in 2024
- How Effective Is Itil Certification for a Job Switch?
- IT Service Management (ITSM) Role and Responsibilities
- Top 25 Service Based Companies in India in 2024
- Top Picks by Authors
- What is Escalation Matrix & How Does It Work? [Types, Process]
- ITIL Service Operation: Phases, Functions, Best Practices
- 10 Best Facility Management Software in 2024
- What is Service Request Management in ITIL? Example, Steps, Tips
- An Introduction To ITIL® Exam
- Most Popular Blogs
- A Complete AWS Cheat Sheet: Important Topics Covered
- Top AWS Solution Architect Projects in 2024
- 15 Best Azure Certifications 2024: Which one to Choose?
- Top 22 Cloud Computing Project Ideas in 2024 [Source Code]
- How to Become an Azure Data Engineer? 2024 Roadmap
- Top Picks by Authors
- Top 40 IoT Project Ideas and Topics in 2024 [Source Code]
- The Future of AWS: Top Trends & Predictions in 2024
- AWS Solutions Architect vs AWS Developer [Key Differences]
- Top 20 Azure Data Engineering Projects in 2024 [Source Code]
- 25 Best Cloud Computing Tools in 2024
- Most Popular Blogs
- Company Analysis Report: Examples, Templates, Components
- 400 Trending Business Management Research Topics
- Business Analysis Body of Knowledge (BABOK): Guide
- ECBA Certification: Is it Worth it?
- How to Become Business Analyst in 2024? Step-by-Step
- Top Picks by Authors
- Top 20 Business Analytics Project in 2024 [With Source Code]
- ECBA Certification Cost Across Countries
- Top 9 Free Business Requirements Document (BRD) Templates
- Business Analyst Job Description in 2024 [Key Responsibility]
- Business Analysis Framework: Elements, Process, Techniques
- Most Popular Blogs
- Best Career options after BA [2024]
- Top Career Options after BCom to Know in 2024
- Top 10 Power Bi Books of 2024 [Beginners to Experienced]
- Power BI Skills in Demand: How to Stand Out in the Job Market
- Top 15 Power BI Project Ideas
- Top Picks by Authors
- 10 Limitations of Power BI: You Must Know in 2024
- Top 45 Career Options After BBA in 2024 [With Salary]
- Top Power BI Dashboard Templates of 2024
- What is Power BI Used For - Practical Applications Of Power BI
- SSRS Vs Power BI - What are the Key Differences?
- Most Popular Blogs
- Data Collection Plan For Six Sigma: How to Create One?
- Quality Engineer Resume for 2024 [Examples + Tips]
- 20 Best Quality Management Certifications That Pay Well in 2024
- Six Sigma in Operations Management [A Brief Introduction]
- Top Picks by Authors
- Six Sigma Green Belt vs PMP: What's the Difference
- Quality Management: Definition, Importance, Components
- Adding Green Belt Certifications to Your Resume
- Six Sigma Green Belt in Healthcare: Concepts, Benefits and Examples
- Most Popular Blogs
- Latest CISSP Exam Dumps of 2024 [Free CISSP Dumps]
- CISSP vs Security+ Certifications: Which is Best in 2024?
- Best CISSP Study Guides for 2024 + CISSP Study Plan
- How to Become an Ethical Hacker in 2024?
- Top Picks by Authors
- CISSP vs Master's Degree: Which One to Choose in 2024?
- CISSP Endorsement Process: Requirements & Example
- OSCP vs CISSP | Top Cybersecurity Certifications
- How to Pass the CISSP Exam on Your 1st Attempt in 2024?
- Most Popular Blogs
- Best Career options after BA [2024]
- Top Picks by Authors
- Top Career Options & Courses After 12th Commerce in 2024
- Recommended Blogs
- 30 Best Answers for Your 'Reason for Job Change' in 2024
- Recommended Blogs
- Time Management Skills: How it Affects your Career
- Most Popular Blogs
- Top 28 Big Data Companies to Know in 2024
- Top Picks by Authors
- Top Big Data Tools You Need to Know in 2024
- Most Popular Blogs
- Web Development Using PHP And MySQL
- Top Picks by Authors
- Top 30 Software Engineering Projects in 2024 [Source Code]
- More
- Agile & PMP Practice Tests
- Agile Testing
- Agile Scrum Practice Exam
- CAPM Practice Test
- PRINCE2 Foundation Exam
- PMP Practice Exam
- Cloud Related Practice Test
- Azure Infrastructure Solutions
- AWS Solutions Architect
- AWS Developer Associate
- IT Related Pratice Test
- ITIL Practice Test
- Devops Practice Test
- TOGAF® Practice Test
- Other Practice Test
- Oracle Primavera P6 V8
- MS Project Practice Test
- Project Management & Agile
- Project Management Interview Questions
- Release Train Engineer Interview Questions
- Agile Coach Interview Questions
- Scrum Interview Questions
- IT Project Manager Interview Questions
- Cloud & Data
- Azure Databricks Interview Questions
- AWS architect Interview Questions
- Cloud Computing Interview Questions
- AWS Interview Questions
- Kubernetes Interview Questions
- Web Development
- CSS3 Free Course with Certificates
- Basics of Spring Core and MVC
- Javascript Free Course with Certificate
- React Free Course with Certificate
- Node JS Free Certification Course
- Data Science
- Python Machine Learning Course
- Python for Data Science Free Course
- NLP Free Course with Certificate
- Data Analysis Using SQL
How To Work With Agile User Stories?
Updated on 21 August, 2017
8.64K+ views
• 11 min read
In the software industry, the word “user story” is very commonly used. Not a single day goes by when we don’t come across this word during our daily scrum meetings or sprint retrospectives discussions. Our leads and development managers talk about user stories incessantly.
Even when software feature owners or product managers speak to their development or test team or their end customers, their entire focus of conversation is centered around the word, user stories.
The word user stories and use cases have existed in the software engineering psyche for almost 30+ years but they found their resurgence especially when the AGILE methodologies, Concepts and Sprints became the bread and butter of entire software industry.
In this article on user stories, I would like to bust some myths surrounding this concept and answer the questions that commonly plague even the most experience people of this industry.
How am I qualified to write on this topic?
While you are welcome to read about my profile in brief at the end of this article; to summarize, I have worked with top companies like Microsoft etc. in the product engineering domain conceptualizing, implementing and supporting multiple products that have been huge success [for example: Windows operating system] and some, not so successful attempts.
While it is not easy to credit the success or failure of such software products to just one concept of adequate user stories or lack of them, but they did play an important role in the final outcome of the project.
Hence, I am basing this article on my experience with user stories.
Let’s Start
As official definitions across web, user story is an informal story that depicts how a user will move from one aspect of software product to another.
And use cases are defined as informal list of actions and events that will happen once a user starts interacting with the product.
But we all know that these are textbook definitions.
Yet we all falter at one or the other time while trying to explain these two concepts to someone in our team or during an interview.
Isn’t it?
Let us try to understand the differences between these two terms and it will become easy once we all grasp the point of why these two concepts were introduced in the software engineering parlance.
Why user stories and Use Cases as concepts came into being?
As software products grew in scope and complexity, requirement management started becoming a nightmare for all product managers. It became increasingly common to ship products that did not cover 100% of requirements either due to missed requirements while documentation, or due to the fact that not all requirements were understood completely by development team.
This problem became prominent when software started being shipped as service and competition became fierce.
Nowadays, if your software does not satisfy user requirements properly, then it is just a matter of time when a better app will take over your market share as we have seen in multiple cases in recent times.
This is the reason why products like Google search engine perform so well. Because they somehow understand what a user is looking for while searching and that shows up in its popularity.
As this reality dawned, product managers started thinking of ways to make sure customer requirements did not go missing or were implemented exactly as user would have liked to.
Things like traceability matrix etc. helped to some extent but did not solve the problem completely.
That’s when the concept of user stories and use cases started proving themselves. Someone, or may be a group of intelligent smart people thought, why not capture the requirements, at least the first cut after talking to the customer in the same way as they would have performed the action if they were working with the software as a first person.
Boom!
That’s how the concept of documenting the requirements as user stories came into being.
Hence, in simple terms, user story is a short story of a fictitious character, but with a valid role and responsibility using the software or a feature of it and getting the desired results from it.
And use cases are nothing but series of actions that the fictitious character performed with respect to the software or a feature of it with the documented desired output.
Hence, it can be summarized that user stories depict the way the end user is going to use the system and use cases are short actions with desired outputs, that when collated become a user story.
This means, it is possible to derive use cases from user stories.
Every good user story should contain following elements:
- Actor(s): Every user story should contain few actors in it with specific roles and responsibilities. Actors generally correspond to the users who are going to use the system.
- Role: Every actor of a user story has a role associated with it. The role refers to the position, responsibility of that actor within that scene. It also lists down the privileges that the actor has or does not have.
- Scenario: Every user story depicts one scenario where we briefly explain the scene setting of where the user(s) is or are, what they are supposed to do and the intended outcome or direction assigned to them.
- Storyline: This is actually the user story where we depict, how a particular actor was assigned a task and how they are going to proceed with it. It includes the interactions that they will do through the software or the functionality of the software and what desired outcome they got.
- User Satisfaction Criteria: The final section of user story contains a brief mention of why user and his stakeholders will be happy upon successful implementation of this user story.
I will give you one sample of a good user story and a bad user story. First of all, let us understand how a bad user story looks like.
Sample for bad user story:
Raj has opened the software and he used the report generation feature of the tool to generate the report. The report looks good and satisfies the purpose of his report generation. He sends this report to his manager and completes the task.
Why this is a bad user story?
This will look like a decent user story as it covers what the user wants to do; but in reality, this is a classic case of bad user story because it leaves lot of margin for error and misinterpretation by the developer during code implementation. How?
1.) Who is Raj? What privilege does he have? What access does he have to the system?
a. These points are not clarified. Hence, the developer can interpret in his/her own way leading to wrong feature development and customer dissatisfaction or Production bugs
b. In this case, it will lead to security issues in the product itself.
2.) It does not specify as to how one should use report generation feature and where to find it on the screen. Moreover, there is no accompanying UX or sample screens for developer to know where to place this feature on the screen.
3.) It does not specify how the report looks like and which format it is in. Is it an excel based report or HTML report? If these things are not clear, it might leave a lot of margin for error for the developer during development phase.
There are many more other problems with the above user story.
Now let us check a sample for good user story.
Sample for good user story:
Raj, is a system admin in the XYZ company. He has the admin access to the report generation server and is the only person to have this access. He gets an email request from his manager for report generation in excel format for the period between 1st Jan to 31st March and is supposed to generate this report in 15 minutes and send it to him.
Raj opens the software and clicks on the “report generation” tab on the top header of the screen [as shown in the sample UI] and chooses the required fields such as time period for the report, format of the report and clicks on generate.
The report is generated in 1 minute and is available for download and save or directly open. Raj saves it on his desktop and opens it. Verifies the report in his MS Office 2016 suite and emails it to his manager.
He was able to complete this task in less than 15 minutes and hence, he and his manager both are happy with this report generation feature of this software.
Why is this a good user story?
- It clearly explains Raj’s role in the system and mentions the privileges that he should have for this activity.
- It also clarifies who else has this privilege. In this case, no one apart from Raj has this access.
- User story is clear in the performance aspect of the feature of this software in terms of time constraints.
- It also shows the sample screen where developer will know how the button should look like, where it should be placed on screen etc.
- The user story is clear on what all fields are to be filled in by Raj before generating the report
- The options that should be presented to the user after report generation are also mentioned explicitly in the user story
- And most important of all, the user story clearly explains why the user and his stakeholder, Raj and his manager in this case, are happy by the usage of this feature. That is known as user satisfaction criteria.
What additional information should be provided along with user story?
A functional specification document is the one that acts like a holy guide to the development lead and his team for generation of completely flawless development specification document. However, providing following information along with user story does add credit to your user stories in addition to the ones mentioned above. We will take the same report generation example.
1.) List down all possible formats of the report that should be supported by this feature
a. Each format will become a separate use case within above described user story.
2.) List down the range of actions supported by the feature of that software. That will be a separate user story.
a. And each range will become a unique use case within that user story.
3.) Provide all the UX assets i.e. samples for UI to be used by the developer.
a.This ensures consistency of the UI
This leads to another set of questions:
1.) How to know which aspects of the feature should become a separate user story
2.) How to know which aspects of a user story should become a use case within a particular user story.
Let us discuss the first question here. I will cover second question in my future post about use cases.
Boost your career with project management certification prep. Unleash your potential and lead with confidence. Begin your journey now!
How to know which aspect of a functionality should be a separate user story or not?
The golden principle that I generally follow to determine this is:
All the actions related to one aspect of the feature [for example: report generation in prescribed format] will be one user story
Working with that same example of report generation feature, if we assume that the report generation feature should have following aspects/benefits as desired by our end customers:
1.) The report generation will take less than 15 minutes
2.) The report can be generated for multiple time periods and are customizable by the user
3.) The feature will support 5 different report format types such as excel, word, HTML, notepad, CSV
4.) Only authorized person will be able to generate the report
Then I will make 4 user stories out of these.
1.) User story 1: This will tell the story of how the user [Raj I this case, will use this feature to generate report in different formats as per requirement
2.) User Story 2: Here I will showcase, how user should have access to system before using this feature and what happens if the user does not have access.
3.) User story 3: I will focus on the timing aspects of the feature here.
4.) User story 4: I will work with different supported time ranges and what will happen in different combinations including the boundary cases.
5.) User story 5: Here I will focus on how the user will interact with other controls of this feature such as cancel button etc.
And finally, out of these 5 stories, I will generate N number of use cases to provide thoroughness in my user specification document; leading to complete clarity for my development team to generate their design.
As a golden principle based on my experience-
A user story is a way to tell the development team on how you expect the user to perform the actions and what is allowed, and what is beyond the scope.
User stories lead to use cases; use cases lead to user requirements and user requirements lead to development specifications that can finally be broken into sprints and delivered across project milestones.