Group by area path and type

Given a list of user stories we group stories by area path and then by work item type.

Template

{{#group 'AreaPath' orderBy='$key'}}

{{#each groups}}

## Area Path: {{$key}}

{{#group 'WorkItemType'}}

{{#each groups}}

### Type: {{$key}}

{{#workItems orderBy='Title'}}
- {{{ field 'Title' }}}
{{/workItems}}

{{/each}}

{{/group}}

{{/each}}

{{/group}}

Work items

IdTitleAreaPathWorkItemType
1Item 1BackendUser Story
2Item 2FrontendUser Story
3Item 3FrontendBug

Result

Area Path: Backend

Type: User Story

  • Item 1

Area Path: Frontend

Type: User Story

  • Item 2

Type: Bug

  • Item 3