Group by parent feature and show linked items

Given a list of user stories we group stories by their parent feature and then for each story display a list of test cases.

You can also output other link types. See these docs for a complete list of link types.


Given the following template

{{#group 'parent'}}

{{#each groups}}

## Feature: {{field 'Title'}}


### Story: {{id}} {{field 'Title'}}

{{#links 'Microsoft.VSTS.Common.TestedBy-Forward' }}

- Tested by:  {{field 'Title'}}





Work items

Given these work items were added

Id Title WorkItemType Parent Tested By
100 🍇Story 100 User Story 30🍐 1000
200 🍈Story 200 User Story 30🍐 2000
300 🍊Story 300 User Story 40🥭 3000
400 🍋Story 400 User Story 40🥭 4000

Other work items

And these work items also exist in the system but are not in your Bravo Notes work item list.

Id Title WorkItemType
30 🍐Feature 1a Feature
40 🥭Feature 1b Feature
50 🍒Feature 2a Feature
60 🍓Feature 2b Feature
1000 Test Case 1000 Test Case
2000 Test Case 2000 Test Case
3000 Test Case 3000 Test Case
4000 Test Case 4000 Test Case


Bravo Notes generates the document like this:

Feature: 🍐Feature 1a

Story: 100 🍇Story 100

  • Tested by: Test Case 1000

Story: 200 🍈Story 200

  • Tested by: Test Case 2000

Feature: 🥭Feature 1b

Story: 300 🍊Story 300

  • Tested by: Test Case 3000

Story: 400 🍋Story 400

  • Tested by: Test Case 4000
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us