Skip to content

Instantly share code, notes, and snippets.

@hamitsehjal
Created October 1, 2023 04:27
Show Gist options
  • Select an option

  • Save hamitsehjal/9871106a8cffaa16f0b2a70e20abe29b to your computer and use it in GitHub Desktop.

Select an option

Save hamitsehjal/9871106a8cffaa16f0b2a70e20abe29b to your computer and use it in GitHub Desktop.
User-Story-Template

User Story Template

This is a user story template that you can use to document user stories for your software development projects. User stories follow the "As a [role], I want [an action or feature], so that [a reason or benefit]" format, and they help define the functionality and requirements of a feature or improvement.

How to Use:

  1. Copy the template below:
**As a [role],**
**I want [an action or feature],**
**So that [a reason or benefit].**

**Acceptance Criteria:**
- [ ] Criteria 1: Describe the first acceptance criterion here.
- [ ] Criteria 2: Describe the second acceptance criterion here.
- [ ] Criteria 3: Describe additional criteria as needed.

**Definition of Done:**
- [ ] All acceptance criteria are met.
- [ ] Code is reviewed and approved.
- [ ] Necessary tests are written and pass.
- [ ] Documentation is updated, if applicable.
- [ ] Feature is deployed to the [environment name].
  1. Paste the template into your project management tool, issue tracker, or document where you track user stories.

  2. Customize the template by replacing [role], [an action or feature], [a reason or benefit], and the acceptance criteria with your specific project details. Be as clear and detailed as possible to accurately describe the user story.

  3. Add any additional information or context that is relevant to your project or team.

Example User-Story

**As a customer,**
**I want to be able to save my favorite products to a wishlist,**
**So that I can easily find and purchase them later without searching.**

**Acceptance Criteria:**
- [ ] The "Add to Wishlist" button is displayed next to each product.
- [ ] When I click "Add to Wishlist," the product is added to my wishlist.
- [ ] I can view my wishlist, see the list of saved products, and remove products from the wishlist.
- [ ] The wishlist persists between sessions, so I can access it even after closing the application.

**Definition of Done:**
- [ ] All acceptance criteria are met.
- [ ] Code is reviewed and approved.
- [ ] Automated tests for wishlist functionality pass.
- [ ] Documentation is updated with information on how to use the wishlist feature.
- [ ] Feature is deployed to the production environment.
@jihanmaharani05
Copy link

jihanmaharani05 commented Nov 9, 2024

As a [role],
I want [an action or feature],
So that [a reason or benefit].

Acceptance Criteria:

  • Criteria 1: Describe the first acceptance criterion here.
  • Criteria 2: Describe the second acceptance criterion here.
  • Criteria 3: Describe additional criteria as needed.

Definition of Done:

  • All acceptance criteria are met.
  • Code is reviewed and approved.
  • Necessary tests are written and pass.
  • Documentation is updated, if applicable.
  • Feature is deployed to the [environment name].

@hfrmobile
Copy link

AS A [role]
I WANT [an action or feature]
SO THAT [a reason or benefit].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment