Formatting of area path values
Use the areaPath
helper to output area path values the way you need.
Template
## Output area path for each work item
{{#workItems}}
### {{ field 'Title' }}
- {{ areaPath }}
- {{ areaPath separator=' > ' }}
- {{ areaPath display='last' }}
{{/workItems}}
## Group by area path
{{#group 'AreaPath'}}
{{#each groups}}
### {{areaPath $key display='last'}}
{{#workItems}}
- {{ field 'Title' }}
{{/workItems}}
{{/each}}
{{/group}}
Work items
Id | Title | AreaPath |
---|---|---|
1 | 🍇Story 1 | Bravo Notes\Templating |
2 | 🍇Story 2 | Bravo Notes\Templating |
3 | 🍇Story 3 | Bravo Notes\Export |
Result
Output area path for each work item
🍇Story 1
- Bravo Notes\Templating
- Bravo Notes > Templating
- Templating
🍇Story 2
- Bravo Notes\Templating
- Bravo Notes > Templating
- Templating
🍇Story 3
- Bravo Notes\Export
- Bravo Notes > Export
- Export
Group by area path
Templating
- 🍇Story 1
- 🍇Story 2
Export
- 🍇Story 3