Skip to content

Export Templates

Create and manage templates for exporting your requirements documentation.

Export templates allow you to customize how your requirements are exported to Word documents. The templates use special tags that get replaced with actual values during export. While creating a polished template may take some iteration, we offer paid support to help create templates tailored to your needs.

The template is created in Word, with the help of tags. Tags like {projectName} are replaced by the real values during the export. To create a really good-looking export, it will take a few tries – don’t hesitate to contact us for help, we provide paid support to create these templates tailored to your needs.

To display the structure, on some templates you will have to switch on the Formatting Symbols ( ), otherwise the text could be hidden (depending on the creator of the template).

You can loop over values the following way:

{#epics}
{#stories}
{oneSentence}
{/stories}
{/epics}

(In a real document, you wouldn’t want to indent the loops, only if the output should be indented too.) Start with the name of the list (in this case: epics) between {# and }, and end with the same name between {/ and }. Within these two tags, you can use the fields of the items in the list – in this example, the {oneSentence} of stories is used.

Whitespace style. Both {#expr} and {# expr} parse correctly, but we recommend keeping the opening characters tight against the name ({#epics}) for consistency with field tags. The same applies to {/}, {%…} and {&…}.

Quote tolerance. When you type " in Word, autocorrect usually replaces it with curly “…”. The parser handles this — “…” and ‘…’ are normalized to "…" and '…' before evaluation, so {estimationSumsByName[“minutes”]} works as written. Whitespace inside bracket keys ([" minutes "]) is also trimmed automatically.

When you loop over a list of plain text values (for example steps or synonyms), there’s no field name to write — the items are just text. Use {.} to refer to the current item:

{#steps}
• {.}
{/steps}

Inside a nested loop, you can reach back out to the surrounding level by prefixing a field with .. (one level up), ... (two levels up), and so on. Each extra dot walks one level further out:

{#epics}
{#stories}
Parent epic: {..name} — story: {name}
{/stories}
{/epics}

This is handy when you want context from a parent item while still looping through its children. For deeper nesting:

{#epics}
{#stories}
{#tasks}
Epic {...name} → Story {..name} → Task {name}
{/tasks}
{/stories}
{/epics}

Filters transform a value before it is shown. Write them after a | inside a tag: {value | filter} or {value | filter: 'arg1', 'arg2'}. You can chain multiple filters with more | signs.

Available filters:

  • toFixed: precision — takes a number and returns it with a fixed number of decimal places (defaults to 2).
  • toFixedFormatted: precision — like toFixed, but also formats the number according to the project’s language (the decimal and grouping separators change). Defaults to 2 decimal places.
  • sumBy: 'fieldName' — takes a list and returns the sum of the named field across all its items.
  • sortBy: 'field1', 'field2', … — takes a list and returns it sorted by the listed fields (first key, then tiebreakers).
{totalCost | toFixedFormatted} // formatted in the project's language, 2 decimals
{estimationSumsByName["minutes"]/60 | toFixed: 1} // one decimal place
{epics | sumBy: 'totalCost'} // total across all epics

About sortBy. It returns a list rather than a single value, so you can’t insert its result into the document with a single {…} tag, you need to use a loop.

Tasks are children of stories in the same way stories are children of epics. Each level offers the same four list variants, depending on which priorities should be included:

  • epics / allEpics / optionalEpics / excludedEpics (top-level)
  • stories / allStories / optionalStories / excludedStories (on an epic)
  • tasks / allTasks / optionalTasks / excludedTasks (on a story)

The default list (stories, tasks, …) skips items that are optional or excluded from the offer. all* includes everything regardless of priority, optional* lists only the optional ones, excluded* lists only the items removed from the offer.

{#epics}
Epic: {name}
{#stories}
{abbreviation} — {name}
{#tasks}
• {abbreviation} {name}
{/tasks}
{/stories}
{/epics}

Features group stories across epics. Each feature has its own story lists (with the same priority variants) and a totalCost:

{#features}
Feature: {name}
{#stories}
• {abbreviation} {name}
{/stories}
{/features}

A story also knows which feature(s) it belongs to via its own features list.

Releases work like features but represent shipping plans. Each release has its own story lists and a totalCost. A story carries a release field pointing back to the release it belongs to (or empty if none).

{#releases}
Release: {name} (id {displayId})
{description}
{#stories}
• {abbreviation} {name}
{/stories}
{/releases}

SCOPE, NULL HANDLING, AND PARENT REFERENCES

Section titled “SCOPE, NULL HANDLING, AND PARENT REFERENCES”

No fallback from parent (scope pollution prevention)

Section titled “No fallback from parent (scope pollution prevention)”

Inside nested structures (e.g. when looping over {#relatedStories} and using {#relatedStory}, the current item is a related story DTO). Each item only exposes its own fields. If a field is null on that item, it stays null — the exporter does not substitute the same field from the parent context. That prevents scope pollution: for example, relatedStory.oneSentence is only the related story’s one-sentence summary; if that story has none, you get an empty value, not the parent story’s one-sentence.

When you do want a value from the parent (or higher) in the hierarchy, use the parent-reference syntax:

  • {..property} — value of property on the immediate parent (e.g. the story that contains the current relatedStory)
  • {...property} — value on the grandparent (one level above the immediate parent)
  • Add more dots to go further up: {....property} for the next level, and so on.

Example: inside {#relatedStories}{#relatedStory}, {name} and {oneSentence} refer to the related story; {..name} and {..oneSentence} refer to the parent story that contains this related-stories list.

Section titled “Example: related stories and parent reference”

One epic with two stories that reference each other; only the first story has oneSentence set.

Template:

Epics:
{#epics}
EPIC "{name}"
Stories:
{#stories}
[+] Story "{name}", under Epic "{..name}"
OneSentence: {oneSentence}
→ Related stories:
{#relatedStories}{#relatedStory}{name}, related to {..name}
oneSentence: "{oneSentence}"
(parent story oneSentence: "{..oneSentence}")
{/}{/}
{/stories}
{/epics}

Rendered result:

Epics:
EPIC "Epic 1"
Stories:
[+] Story "Story 1 of Epic 1", under Epic "Epic 1"
OneSentence: Story 1 Onesentence
→ Related stories:
Story 2 of Epic 1, related to Story 1 of Epic 1
oneSentence: ""
(parent story oneSentence: "Story 1 Onesentence")
[+] Story "Story 2 of Epic 1", under Epic "Epic 1"
OneSentence:
→ Related stories:
Story 1 of Epic 1, related to Story 2 of Epic 1
oneSentence: "Story 1 Onesentence"
(parent story oneSentence: "")

So: the related story’s own oneSentence is used as-is (empty when not set); the parent’s one-sentence is shown only where {..oneSentence} is used.

The syntax for fields that represent images is a bit different from the syntax for “normal” fields. For example, for screens that have a screenPicture field, you should use {%screenPicture} instead of {screenPicture}.

You can specify width, height, and DPI (dots per inch) for images using the following format:

{%screenPicture<%width=400;height=300;dpi=192%>}

Parameters:

  • width: desired width in pixels (optional)
  • height: desired height in pixels (optional)
  • dpi: resolution quality (optional, default: 192 — 2× the standard 96 DPI for sharper display)

You can specify one dimension only (width or height); the system automatically calculates the other dimension while preserving the original aspect ratio.

Limits & quirks:

  • Width and height are capped at a maximum of 2000 × 2000 px by default. Larger values are scaled down, keeping the aspect ratio.
  • SVG images are flattened onto a white background before being placed into the document.

Examples:

{%screenPicture<%width=400%>} // auto-calculates height, default 192 DPI
{%screenPicture<%height=300;dpi=300%>} // auto-calculates width, high-quality print
{%screenPicture<%width=400;height=300%>} // fixed dimensions, default quality

Note: Image tags must stand alone on their own line in Word templates.

The description field on an epic, story, or task is available in two forms: plain text, and the formatted version the user typed in the rich-text editor (with bold, italics, bullet lists, links, and so on). To insert the formatted version into Word, use the ampersand prefix:

Plain text: {description}
Formatted version: {&descriptionEditorData}

descriptionEditorData is currently the only rich-text field available in exports.

Important: an {&…} tag must stand alone on its own line in Word — it always produces a whole paragraph, so it cannot share a line with other text or other tags.

Use {description} when you want a single line of plain text; use {&descriptionEditorData} when you want all the formatting the user typed into the editor.

Two custom tags let you build clickable Word links between sections of the exported document. The link’s target is identified by the value of a field (for example, a story’s abbreviation), so the same value has to appear on both ends of the link.

Wherever a section should be the target of links, place {>$field} inside it. The export inserts a Word bookmark at that location, and moves the bookmark out of the surrounding paragraph (and, inside a table, to the start of the row), so clicking a link lands the reader at the row / section rather than mid-cell.

{>$abbreviation}{abbreviation} {name} Priorität: {priority}
Section titled “{$field}clickable text{/$} — render a hyperlink”

Anywhere else in the document, wrap the visible text in {$field}…{/$}. The export turns it into a clickable hyperlink whose target is the one bookmark with the same name. The text between the open and close is what the reader sees:

Verknüpfte Story: {$abbreviation}{abbreviation}{/$} ({oneSentence})

Pairing rule. A link only works if some {>$field} elsewhere in the document evaluates to the same value. Typical pattern: pick a stable identifier such as abbreviation or displayId and reuse it at both ends. Two {>$X} tags producing the same value cause a Word bookmark-name collision.

You can impose certain conditions, e.g. if there are no comments for the document, you could show an info text:

{#comments.length == 0}There are no comments for this document.{/}

Like a loop, the condition is written between {# and }; the content that should be displayed if the condition is met follows after, and the whole block is ended with {/}.

Operators available inside conditions:

  • equality: ==, !=
  • ordering: <, <=, >, >=
  • “has a value”: just the field name ({#description}…{/} shows the content when description has a value)
  • “is empty”: prefix with ! ({#!description}…{/} shows the content when description is empty)

! is especially useful for “this is empty” cases:

{#!relatedStories.length}This story has no related stories.{/}

“Otherwise” sections — {^field}…{/}

Section titled ““Otherwise” sections — {^field}…{/}”

The opposite of {#field}…{/} is {^field}…{/}, which shows the content only when field is empty. Together, the two let you render one thing or the other depending on whether a field has a value:

{#oneSentence}{oneSentence}{/}{^oneSentence}Als {role} möchte ich {action}{/}
{#epics}
{#stories} As {role} I want to {action} {#actionDescriptor.length > 0} to {actionDescriptor}{/} {/stories}
{/epics}

In this example, the actionDescriptor is only shown if there is text given. It would look like this:

As User I want to reset my password to regain access to my account
As User I want to log in
As Administrator I want to deactivate a user to restrict access to the app

There are several ways to access epics. The default list, epics, contains all epics that are NOT optional and NOT excluded in the offer. To access ALL epics, regardless of priority, use allEpics. To access only the optional ones, use optionalEpics; to access only the ones omitted completely, use excludedEpics.

The same pattern applies to the stories list on an epic, tasks on a story, stories on a feature/release, and relatedStories on a story (allStories / optionalStories / excludedStories, allTasks / optionalTasks / excludedTasks, allRelatedStories / optionalRelatedStories / excludedRelatedStories).

List all userInterface criteria of a Story

Section titled “List all userInterface criteria of a Story”
{#epics}
{#stories}
{#acceptanceCriteria}
{#userInterface}
• {name}
{/userInterface}
{/acceptanceCriteria}
{/stories}
{/epics}

Would list all criteria like this:

• The button must be at least 3cm big on an iPhone 20 with normal zoom settings
• The button should be red

Acceptance criteria are split into four groups: userInterface, nonFunctional, furtherSpecification, and testScenarios. Each group is a list; each item may have a testScenario describing a test for that criterion.

Wrap each group in a condition so the heading only appears when there’s at least one entry. The four groups sit inside acceptanceCriteria, so you need to be inside an {#acceptanceCriteria}…{/acceptanceCriteria} block to use their names directly — alternatively, prefix the name with acceptanceCriteria. (e.g. {#acceptanceCriteria.userInterface.length > 0}…{/}):

{#acceptanceCriteria}{#userInterface.length > 0}
Acceptance Criteria:
> User Interface:{#userInterface}
> {name}{#testScenario}
> {name}{#steps}
> {.}{/steps}{/testScenario}{/userInterface}{/}{/acceptanceCriteria}

We try to use no newlines and spaces between the brackets, so Word does not add newlines.

Repeat the same pattern for nonFunctional, furtherSpecification, and testScenarios, all inside the same {#acceptanceCriteria} block. Each group becomes:

  1. A condition {#nonFunctional.length > 0} to decide whether to show the section header (e.g., Non functional:).
  2. A loop {#nonFunctional} to list the criteria ({name}).
  3. An optional nested loop {#testScenario} to print the scenario name and its steps ({#steps}{.}{/steps}) before closing with {/testScenario} and {/nonFunctional}.

When you just need to output a plain bullet list of the steps on their own, loop over steps. Inside that loop, the placeholder {.} stands for the current step:

{#steps}
> {.}{/steps}

Story relations come in exactly four kinds: "dependsOn", "excludes", "feature", "relatesTo". Check relationType to see which one applies. The related story itself sits inside relatedStory — wrap a block in {#relatedStory}…{/relatedStory} to read any of its fields.

{#epics}
{#stories}
{#relatedStories.length == 1}Related Story: {/}{#relatedStories.length > 1}Related Stories: {/}
{#relatedStories}
• {#relationType == "dependsOn"}Depends on {/}{#relationType == "excludes"}Excludes {/}{#relationType == "feature"}Belongs to feature story {/}{#relationType == "relatesTo"}Relates to {/}{#relatedStory}{abbreviation} (As {role} I want to {action}){/relatedStory}
{/relatedStories}
{/stories}
{/epics}

Would look like this:

• Depends on US-45 (As Administrator I want to add a user)
• Excludes US-34 (As System I want to automatically create users)

The same priority variants apply: relatedStories, allRelatedStories, optionalRelatedStories, excludedRelatedStories.

Inside {#relatedStory}, each related story has its own fields (e.g. oneSentence, name). Null values are not replaced by the parent story’s values. To use the parent story’s value explicitly, use the parent-reference syntax (e.g. {..oneSentence}). See Scope, null handling, and parent references.

{#appendix}
{#screens} {%screenPicture} {/screens}
{/appendix}

To list the Images with given size:

{%screenPicture<%width=600;height=100%>}
{%screenPicture<%width=800;dpi=300%>} // High-quality for print
{%screenPicture<%height=400%>} // Auto-calculate width

Note: Image tags must stand alone on their own line in Word templates.

Document-level comments are available as the top-level comments list (public comments only):

{#comments}
● {text}
by {userFirstName} {userLastName}
{/comments}

The same loop inside an epic or story would display the comments of that epic / story instead.

The appendix bundles supporting reference material: screens, business entities, roles (the actor catalogue, called Roles in the app), and glossary entries. Entities, roles, and glossary entries all share the same set of fields: a name, description, synonyms, the stories they’re linked to, and so on.

{#appendix}
{#screens.length > 0}Screens:
{#screens}
{%screenPicture<%width=600;dpi=192%>}
{/screens}
{/}
{#entities.length > 0}Entities:
{#entities}
● {name} — {description}
{/entities}
{/}
{#roles.length > 0}Roles:
{#roles}
● {name}
{/roles}
{/}
{#glossaryEntries.length > 0}Glossary:
{#glossaryEntries}
● {name}: {description}
{/glossaryEntries}
{/}
{/appendix}

Attention: tags that include pictures always must stand alone on a line.

Document-wide additional information lives at the root level (not inside the appendix):

{#additionalInfo.length > 0}
Additional information:
{additionalInfo}
{/}

Original Sentences are the origin of the specification – the raw text someone writes to give the experts an idea of what they want. Being able to refer back to them can be important throughout the process.

You can loop over originalSentences (a top-level list) and, for each one, also loop over the stories that were derived from it. Each linked story is a full story (with estimations, comments, related stories, and everything else):

{#originalSentences}
[Priority: {priority}] {text}{#stories.length > 0}
{#stories}Linked stories:
• {abbreviation} (As {role} I want to {action})
{/stories}{/}
{/originalSentences}

When a story has an estimation in minutes, the export automatically calculates the equivalent in hours, days, and months for you, and makes them available alongside minutes under estimationsByName and estimationSumsByName. This only happens for a minutes estimation — if you enter a value directly in hours, days, or months, no other units are calculated.

The conversions are:

  • hours = minutes ÷ 60.
  • days = minutes ÷ (hoursInWorkDay × 60), where hoursInWorkDay comes from your tenant settings.
  • months = minutes ÷ (hoursInWorkDay × 60 × 30) — same setting, with 30 working days per month built in.

With the default of 8 hours in a working day:

  • {estimationSumsByName["minutes"]} → 480
  • {estimationSumsByName["hours"]} → 8
  • {estimationSumsByName["days"]} → 1

A separate built-in unit called currency holds an extra cost in the smallest unit of your currency (e.g. cents for €). It is stored separately and not calculated from time. Typical use:

{estimationSumsByName["currency"]/100 | toFixedFormatted}{projectCurrencySymbol}

Custom units defined in your tenant settings also appear in estimationsByName / estimationSumsByName under their own key.

You can do math inside any tag: {estimationSumsByName["minutes"]/60}.

Below is the complete list of tags available, grouped by where they live.

  • projectName — the name of the project, e.g. “storywi.se”.
  • projectCurrencySymbol — the currency symbol configured for the project, e.g. “€”.
  • hourlyRate — the hourly rate, stored in cents (or the smallest unit of your currency). Divide by 100 to display it normally. May be empty.
  • termsOfPayment — the text set under “Terms of payment”. May be empty.
  • documentVersion — e.g. “1.0”.
  • additionalInfo — document-wide additional information. Lives at the top level, not inside the appendix. May be empty.
  • epicsTotalCost — cost of all epics (skipping optional and excluded). May be empty.
  • allEpicsTotalCost — cost of every epic, regardless of priority. May be empty.
  • optionalEpicsTotalCost — cost of optional epics only. May be empty.
  • excludedEpicsTotalCost — cost of excluded epics only. May be empty.
  • epics / allEpics / optionalEpics / excludedEpics — lists of epics. The four variants follow the same rule used everywhere: the default skips optional/excluded; all* includes everything; optional* / excluded* filter to just those priorities.
  • features — list of features (see “Feature” below).
  • releases — list of releases (see “Release” below).
  • comments — list of public document-level comments.
  • appendix — the appendix block (see the APPENDIX section above).
  • originalSentences — list of original sentences.
  • externalToolPriorityMappings — list mapping external tool priorities (Jira / YouTrack / Azure DevOps) onto Storywise priorities. Advanced — get in touch with support if you need to render this.
  • accessRights — (upcoming)

Epics, stories, and tasks share the same set of fields. Many fields only carry a meaningful value at one level:

  • role, action, actionDescriptor, requirementText, executiveSummary, auto, features, release, externalTitle, jiraStatus, youtrackStatus, externalToolWorklogSumMinutes — usually filled in for stories; usually empty on epics and tasks.
  • stories / allStories / optionalStories / excludedStories — filled in on epics (the stories belonging to that epic); empty everywhere else.
  • tasks / allTasks / optionalTasks / excludedTasks — filled in on stories (the tasks belonging to that story); empty everywhere else.

Fields:

  • name — the name of the item. May be empty.
  • description — the plain-text description. May be empty.
  • descriptionEditorData — the rich-text version of the description. Use as {&descriptionEditorData} on its own line to render formatting (see RICH TEXT RENDERING).
  • oneSentence — the single-sentence summary. May be empty.
  • abbreviation — formatted like “EP1” (epic), “US2” (story), “TA3” (task).
  • priority — by default the raw priority value in lowercase: "highest", "high", "medium", "low", "lowest", "optional", "excluded". If your tenant has configured External Tool Priority Mappings, the configured label is returned instead (e.g. "Critical", "P1").
  • role — the persona / actor, e.g. “User”, “Administrator”. May be empty.
  • action — the “I want to …” part of a user story. May be empty.
  • actionDescriptor — the “so that …” part of a user story. May be empty.
  • requirementText — the free-form requirement text (when the user prefers that style over the user-story form). May be empty.
  • executiveSummary — the executive summary. May be empty.
  • preferredViewMode — either "userStory" or "requirementText". Controls which form auto picks.
  • auto — the requirement, formatted in the project’s language. Picks either the “As X I want Y so that Z” style or the raw requirementText depending on preferredViewMode. May be empty.
  • originalSentences — list of original sentences linked to this item. (When read from a story, each entry only has priority, text, aiCreated, edited — no nested stories.)
  • stories / allStories / optionalStories / excludedStories — child stories of an epic.
  • tasks / allTasks / optionalTasks / excludedTasks — child tasks of a story.
  • acceptanceCriteria — four groups, pre-sorted in the order set in the app. Each group is a list of items with a name and optionally a testScenario:
    • userInterface
    • nonFunctional
    • furtherSpecification
    • testScenarios
    • each testScenario (when present) has a name, a type (one of "gherkin", "exampleMapping", "userWorkflow"), and a steps list of text values (loop with {#steps}{.}{/steps}).
  • screens — list of screens. Each screen has: caption (may be empty), screenPicture (image), type, filename, figmaCanvasName (may be empty), displayId (number).
  • comments — list of public comments. Each comment has text, userFirstName, userLastName.
  • relatedStories / allRelatedStories / optionalRelatedStories / excludedRelatedStories — lists of related-story entries. Each entry has:
    • relatedStory — the full related story (read any of its fields inside {#relatedStory}…{/relatedStory}).
    • relationType — one of "dependsOn", "excludes", "feature", "relatesTo".
  • features — list of features this story belongs to. Each entry is the short form, with just name and description.
  • release — the release this story belongs to, or empty if none. Same short form: just name and description.
  • externalTitle — the title in the linked external tool (Jira, YouTrack, Azure DevOps), if connected. May be empty.
  • jiraStatus / youtrackStatus — the current status in the linked external tool, if connected. May be empty.
  • externalToolWorklogSumMinutes — total worklog minutes pulled from the linked external tool. May be empty.
  • estimations — list of stored estimations, each with an estimatedAmount and estimatedUnit. Only contains units actually entered for this item — the auto-calculated hours / days / months do not appear here. To find them, use estimationsByName instead.
  • estimationsByName — look up an estimation by name, e.g. {estimationsByName["minutes"]}. This is where the auto-calculated time units appear.
  • estimationSums — same shape as estimations, but uses the displayed value (fixed value or sum of children, depending on configuration). Same limitation: no auto-calculated units.
  • estimationSumsByName — look up a displayed-value estimation by name. See ESTIMATION UNITS for the auto-calculated hours / days / months keys and the built-in currency unit.
  • totalCost — total cost of the item, calculated from the hourly rate and time needed. May be empty.
  • useDetailedEstimations — true if the item uses “sum of children”, false if it uses “fixed value”.
  • name — the feature name. May be empty.
  • description — the feature description. May be empty.
  • stories / allStories / optionalStories / excludedStories — stories grouped under this feature.
  • totalCost — total cost of the feature. May be empty.
  • displayId — the release’s display number.
  • name — the release name.
  • description — the release description.
  • descriptionAiCreated — true/false indicator that the description was AI-generated. May be empty.
  • edited — true if the release has been edited.
  • selected — true if the release is currently selected.
  • stories / allStories / optionalStories / excludedStories — stories in this release.
  • totalCost — total cost of the release. May be empty.
  • text — the comment text.
  • userFirstName — the commenter’s first name.
  • userLastName — the commenter’s last name.
  • text — the sentence text.
  • priority — same rules as the priority on a story: lowercase value by default, or the tenant-configured External Tool Priority Mapping if set.
  • aiCreated — true/false indicator that the sentence was AI-generated.
  • edited — true if the sentence has been edited.
  • stories / allStories / optionalStories / excludedStories — derived items. Mixed list — when the linked item is a story, the entry has all the usual story fields. When it’s an epic, only id, name, and abbreviation are available. So don’t assume every entry has fields like priority or acceptanceCriteria.
  • screens — list of screens, same fields as the screens list on a story (caption, screenPicture, type, filename, figmaCanvasName, displayId).
  • entities — list of business entities (see below for fields).
  • roles — list of roles — the actor catalogue (called Roles in the app; the older name “personas” no longer applies).
  • glossaryEntries — list of glossary entries — domain vocabulary.

Tags on each entity, role, or glossary entry

Section titled “Tags on each entity, role, or glossary entry”
  • name — the entry name.
  • abbreviation — the entry’s abbreviation.
  • description — the description.
  • synonyms — list of text values (loop with {#synonyms}{.}{/synonyms}).
  • type — "role", "entity", or "glossaryEntry", matching which appendix section the entry belongs to.
  • aiCreated — true if the entry was AI-generated.
  • edited — true if the entry has been edited.
  • stories — the linked stories.
  • allStories / optionalStories / excludedStories — same, but each may be empty if there are no matching stories.
  • attributes — list of attributes, each with inRelations and outRelations (advanced — used for entity-relationship output).