Separate work items into sections

Using the section helper we create separate sections of work items. We also use the {{ count }} helper to output the total number of work items in each section.

Template


# Release Notes

{{#section 'major'}}

## Major features ({{count}})

{{#workItems}}

### {{field 'Title' }}

{{{ field 'Description' }}}

{{/workItems}}

{{/section}}

{{#section 'minor'}}

##  Minor updates ({{count}})

{{#workItems}}

### {{field 'Title' }}

{{{ field 'Description' }}}

{{/workItems}}

{{/section}}

{{#section 'bugfix'}}

## Bug fixes ({{count}})

|Id|Title|
|--|--|
{{#workItems}}
|{{id}}|{{field 'Title'}}|
{{/workItems}}

{{/section}}

Work items

IdTitleWorkItemTypeLabel
100🍇Story 100User Storymajor
200🍈Story 200User Storymajor
300🍊Story 300User Storyminor
400Bug400Bugbugfix

Result

Release Notes

Major features (2)

🍇Story 100

🍈Story 200

Minor updates (1)

🍊Story 300

Bug fixes (1)

IdTitle
400Bug400