Skip to main content
Start from the closest solution template (the functional safety template is the simplest entry point) and adjust the sheet configuration to add the types your process needs.

Define the Risk Data Type

Every Risksheet has a primary row type defined under dataTypes.risk in the sheet configuration. This is the main work item type the grid renders.
The names risk and task are naming conventions, not constraints. The two-entity data model supports any pair of Polarion work item types — for example, dataTypes.risk.type: requirement and dataTypes.task.type: testcase to render a verification matrix.

Add a Downstream Task Type

To pair the risk type with a second work item type — typically a mitigation, control, or test case — define dataTypes.task:
Set dataTypes.task.canCreate: false together with column-level canCreate: false to restrict users to linking pre-existing items from a shared library.

Configure Visual Levels for the Hierarchy

Multiple visual rows per risk item — such as Item, Failure Mode, Cause — are achieved through cell merging, not through extra work item types. The data model still has only two entities (risk and task); the visual tree comes from the levels array. Each level names a control column whose value triggers vertical cell merging when consecutive rows share it.
Every level entry must include three properties:

Set the Project Property for Multiple Document Types

When a project contains more than one risk document type, configure the project property in Polarion Administration with parentheses around the list:
When specifying more than one document type for nextedy.risksheet.riskDocumentType, enclose values in parentheses with space separation: (type1 type2). Without parentheses, only the first type is recognized.

Assign Columns to Levels

Columns are placed into the visual hierarchy through the level integer. The level property is 1-indexed: level: 1 maps to levels[0], level: 2 maps to levels[1], and so on. Columns bound to task fields carry no level.
The column property is bindings (plural). Use linkedItem.fieldId patterns such as bindings: task.title to display fields from the linked task, and the task.$item form to expose the entire linked work item to a serverRender template. Severity, occurrence, and other rating scales are not declared in the sheet configuration — they come from Polarion enumerations. Columns reference them via type: rating:<enumId> or type: enum:<enumId>.
A single project can contain multiple risk documents, each with its own sheet configuration, columns, work item types, and rating scales. New upstream items can be stored inside the current document via the createInCurrentDocument property on link columns.

Configure Rejection Handling

When a review workflow rejects an item, behavior is governed by removeStrategy and the related rejection properties on dataTypes.risk:
Pick delete to remove items permanently, rejected to keep them filterable, recycle_bin to move them to a hidden bin, or hide to keep them present but filtered out by rejectedStatus.

Verify Your Changes

Open the document in Polarion and confirm that:
  • Work items of every configured type appear, grouped by your level hierarchy.
  • Cells in each level’s control column merge vertically when consecutive rows share the same value.
  • Items whose type is not in dataTypes are filtered out of the grid.

See Also

Last modified on July 10, 2026