Stories and bugs grouped by category
Given a list of user stories we group stories and bugs by a custom category field
Template
{{#section '$UserStory' }}
## New features
{{#group 'Custom.Category'}}
{{#each groups}}
### {{$key }}
{{#workItems}}
- {{field 'Title'}}
{{/workItems}}
{{/each}}
{{/group}}
{{/section}}
{{#section '$Bug' }}
## Fixed bugs
{{#group 'Custom.Category'}}
{{#each groups}}
### {{$key }}
{{#workItems orderBy='Title'}}
- {{field 'Title'}}
{{/workItems}}
{{/each}}
{{/group}}
{{/section}}
Work items
Id | Title | Custom.Category | WorkItemType |
---|---|---|---|
1 | Feature 1 | Mobile App | User Story |
2 | Feature 2 | Web App | User Story |
3 | Bug 3 | Mobile App | Bug |
4 | Bug 4 | Web App | Bug |
Result
New features
Mobile App
- Feature 1
Web App
- Feature 2
Fixed bugs
Mobile App
- Bug 3
Web App
- Bug 4