Azure Boards – Epic, Feature, User Story, Task & Bug Hierarchy
1. What are Epic, Feature, User Story, Task, and Bug?
In Azure Boards, Epic, Feature, User Story, Task, and Bug are different types of Work Items used to plan, organize, and track software development activities.
They help break large business requirements into smaller, manageable development tasks.
Simple understanding
|
Work Item |
Meaning |
Example |
|---|---|---|
|
Epic |
Large business objective |
Internet Banking System |
|
Feature |
Major functionality within an Epic |
Fund Transfer |
|
User Story |
Specific requirement from the user's perspective |
Customer transfers money |
|
Task |
Technical work required to complete a User Story |
Develop Fund Transfer API |
|
Bug |
Defect found in the application |
Incorrect account balance |
2. What is an Epic?
An Epic represents a large business objective that usually requires multiple features, teams, or sprints to complete.
It is the highest level in the standard Azure Boards backlog hierarchy.
Example:
Epic: Internet Banking System
This Epic may contain several Features:
-
Customer Management
-
Fund Transfer
-
Account Management
-
Transaction History
Key Points:
-
Represents a large business requirement.
-
Contains multiple Features.
-
Usually spans multiple sprints.
-
Used for high-level planning and progress tracking.
3. What is a Feature?
A Feature represents a major functionality or capability within an Epic.
A Feature is smaller than an Epic but may contain multiple User Stories.
Example:
Feature: Fund Transfer
Possible User Stories:
-
Transfer money to another account.
-
Add a new beneficiary.
-
View fund transfer history.
-
Set transfer limits.
Key Points:
-
Belongs to an Epic in the standard hierarchy.
-
Represents a specific business capability.
-
Can contain multiple User Stories.
-
May require one or more sprints to complete.
4. What is a User Story?
A User Story describes a specific requirement from the end user's perspective.
It explains what the user wants and why they need it.
Standard format
As a [User],
I want [Functionality],
So that [Business Benefit].
Example
As a banking customer, I want to transfer money to another account so that I can make payments online.
The development team breaks this User Story into smaller Tasks.
Key Points:
-
Represents a specific user requirement.
-
Usually belongs to a Feature.
-
Should be small enough to complete within a sprint.
-
Contains acceptance criteria defining when the requirement is complete.
-
Can have multiple Tasks.
Example acceptance criteria
For the Fund Transfer User Story:
-
Customer must be logged in.
-
Transfer amount must be greater than zero.
-
Sufficient account balance must be available.
-
Transfer must be recorded successfully.
-
Customer must receive a confirmation message.
5. What is a Task?
A Task represents a specific technical or nontechnical activity required to complete a User Story.
Tasks are usually assigned to individual developers or testers.
Example
User Story: Customer transfers money
Tasks:
-
Develop Fund Transfer Web API.
-
Create Angular Fund Transfer screen.
-
Implement SQL Server transaction logic.
-
Add input validation.
-
Write unit tests.
-
Perform integration testing.
Key Points:
-
Usually belongs to a User Story.
-
Represents an individual work activity.
-
Assigned to a developer or tester.
-
Often estimated in hours.
-
Tracked during sprint execution.
Important difference: A User Story describes what the user needs, while a Task describes what the team must do to deliver it.
6. What is a Bug?
A Bug represents a defect or unexpected behavior found during development, testing, or Production usage.
Example
During Fund Transfer testing, QA identifies the following issue:
Bug ID : 205
Title : Incorrect balance after fund transfer
Severity : High
Assigned To : Developer A
State : Active
The developer investigates the issue, fixes the code, and sends it for retesting.
Key Points:
-
Represents an application defect.
-
Can be assigned to a developer.
-
May include severity, priority, and reproduction steps.
-
Can be linked to the affected User Story.
-
Can be tracked through its own lifecycle.
Important: Bugs do not always appear at the same hierarchy level. Their placement depends on the Azure Boards process and team configuration.
7. What is the Hierarchy?
The standard Azure Boards hierarchy in the Agile process is:
EPIC
Internet Banking System
FEATURE
Fund Transfer
USER STORY
Transfer money to another account
TASKS
API, Angular, SQL, Testing
BUGS
Defects, if configured at task level
Bug placement is configurable. Bugs can also be tracked at the requirements level or outside backlogs.
Hierarchy explanation
|
Level |
Work Item |
Purpose |
|---|---|---|
|
Level 1 |
Epic |
Large business objective |
|
Level 2 |
Feature |
Major functionality |
|
Level 3 |
User Story |
Specific user requirement |
|
Level 4 |
Task |
Implementation activity |
|
Configurable |
Bug |
Defect tracked at the configured backlog level |
In the Scrum process, Product Backlog Item (PBI) is generally used instead of User Story.
8. Real-World Example – Banking Application
Consider the following project structure:
Epic: Internet Banking System
│
├── Feature: Customer Management
│ │
│ ├── User Story: Customer Login
│ │ ├── Task: Develop Login API
│ │ ├── Task: Create Angular Login Page
│ │ └── Task: Write Unit Tests
│ │
│ └── User Story: Password Reset
│ ├── Task: Develop Reset Password API
│ └── Task: Create Reset Password UI
│
└── Feature: Fund Transfer
│
├── User Story: Transfer Money
│ ├── Task: Develop Transfer API
│ ├── Task: Implement SQL Transaction
│ └── Task: Create Angular Transfer Page
│
└── User Story: Transfer History
├── Task: Develop History API
└── Task: Create History Page
A Bug such as Incorrect balance after transfer can be associated with the Transfer Money User Story. Its parent-child placement depends on the team's bug-tracking configuration.
9. Important Interview Questions and Answers
Q1. What is the difference between Epic, Feature, User Story, and Task?
An Epic is a large business objective, a Feature represents major functionality, a User Story describes a specific user requirement, and a Task represents the work required to implement that requirement.
Q2. Can one Epic contain multiple Features?
Yes. An Epic can contain multiple Features, and each Feature can contain multiple User Stories.
Q3. What is the difference between a User Story and a Task?
A User Story explains what the user needs and why. A Task explains the development or testing activity required to deliver it.
Q4. What is the difference between a Bug and a Task?
A Bug represents a software defect that needs to be fixed. A Task represents planned work, such as implementing functionality or writing tests.
Q5. Can a User Story contain multiple Tasks?
Yes. A User Story can be divided into multiple development and testing Tasks.
Q6. Is a Bug always a child of a User Story?
No. Azure Boards allows teams to configure whether Bugs are managed at the requirements level, at the task level, or excluded from backlogs and boards.
Q7. What is the difference between User Story and Product Backlog Item (PBI)?
Both represent requirements. The Agile process typically uses User Stories, while the Scrum process uses Product Backlog Items.
10. Key Points for Interview
-
Epic → Feature → User Story → Task is the standard Agile hierarchy.
-
An Epic represents a large business objective.
-
A Feature represents major functionality.
-
A User Story describes a requirement from the user's perspective.
-
A Task represents development or testing work.
-
A Bug represents a software defect.
-
Bug hierarchy depends on the team's configuration.
-
Azure Boards supports parent-child relationships for organizing work items.
Interview-ready answer
In Azure Boards, Epic, Feature, User Story, Task, and Bug are work item types used to organize and track development activities.
An Epic represents a large business objective, a Feature represents major functionality, a User Story describes a specific user requirement, and a Task represents the implementation work needed to complete that requirement. A Bug represents a defect identified during development or testing.
The standard hierarchy is Epic → Feature → User Story → Task. Bugs can be managed at the requirements or task level depending on the Azure Boards configuration.