Prerequisites
Before starting, ensure you have:- Risksheet installed and licensed in your Polarion project
- Administrative access to edit the sheet configuration (the file
risksheet.jsonattached per LiveDoc, editable through the YAML editor since v25.5.0) - Custom work item types created in Polarion for your HARA structure (for example, Hazard, Risk, Countermeasure)
- Polarion enumerations defined for your severity, exposure, controllability, and ASIL scales (Administration > Enumerations)
- Custom fields on the risk work item type, each bound to the appropriate enumeration
- Familiarity with the configuration editor
HARA Structure Overview
A HARA risksheet presents a multi-level visual hierarchy linking hazards to risk assessments and downstream countermeasures. Risksheet’s data model has only two entity types — risk items and task items — while the visuallevels array creates any number of hierarchical groupings through cell merging.
Define Data Types
dataTypes. A typical HARA uses a risk work item as the primary row and a countermeasure as the downstream task. Add name and zoomColumn so the toolbar shows a label and users land on the right column when creating a new task.risk and countermeasure with your actual Polarion work item type IDs. The removeStrategy (on dataTypes.risk) controls risk-item removal: delete (permanent), rejected (status flip), recycle_bin (hidden), or hide (v23.7.7+, filtered out).Configure Levels
name (label in the navigation/zoom menu), controlColumn (drives cell merging), and zoomColumn (target of the zoom menu).controlColumn are merged vertically, creating the appearance of a hazard parent with child risk rows — even though every row is the same Polarion work item type.Define Severity and Exposure Scales
- In Polarion, go to Administration > Enumerations and create one enumeration per scale (for example
iso26262-severity,iso26262-exposure,iso26262-controllability,iso26262-asil) with stable IDs (S0–S3;E0–E4;C0–C3;QM,ASIL_A–ASIL_D). - Create custom fields on the risk work item type (
severity,exposure,controllability,asil), each bound to the matching enumeration. - In the sheet configuration, declare columns of type
rating:<enumId>withbindings: <fieldId>. The server loads enum values automatically — there is noratingsblock in the sheet configuration.
Configure ASIL Determination
formulas entry to compute it:Apply Conditional Formatting
cellDecorators function combined with styles classes. Cell decorators must use toggleClass rather than inline styles because grid cells are reused as the user scrolls.cellRenderer: asilLevel. The thresholds and colors are entirely up to your organization — Risksheet does not impose any default ASIL palette.Configure Upstream Traceability
itemLink columns. The typeProperties block has six verified sub-properties: linkRole, linkTypes, linkDirection, backLink, itemTemplate, and queryFactory. linkTypes is a comma-separated string of work item type IDs, not an array.typeProperties.document: '02 - Risk Management File/Hazards Library'. For cross-project autocomplete, set typeProperties.project to a space-separated list (for example $projectId GlobalLibrary); $projectId resolves to the current project at runtime. See Configure Upstream Traceability Columns.Configure Countermeasure Columns
task.title, and add a field column for any countermeasure-specific custom field:dataTypes.task.linkToRisksheet: true and dataTypes.task.document: <path/to/child>. To target a specific document for new tasks, use dataTypes.task.createInDocument (v24.8.1+) or dataTypes.task.createInCurrentDocument: true. See Configure Multiple Downstream Types for multi-type patterns.Adapting for Other Standards
The same patterns apply to other standards:- ISO 14971 (medical devices) — replace the ASIL enumeration with a risk acceptability enumeration; use P1/P2 enumerations for hazardous-situation and harm probabilities.
- Aviation FHA (ARP 4761) — configure hazard and failure-condition work item types with the appropriate severity classifications.
- Custom matrices — define your own Polarion enumerations and
formulas, bind columns of typerating:<yourEnumId>.
Review Workflow
Risksheet supports three review managers underreviews: comment-based, work item-based, and approval-based. The approval review creates approval-tagged comments on the document; note that it does not trigger Polarion’s formal document approval state transitions (draft → reviewed → approved). For full document-state integration, use Polarion’s workflow on the LiveDoc itself.
Verification
After saving your configuration:- Reload the LiveDoc in your browser.
- Confirm the hierarchy: hazards merged at Level 1, risk rows at Level 2.
- Severity, exposure, and controllability columns display values from your Polarion enumerations.
- The ASIL cell computes automatically and applies the color from the
cellDecoratorsfunction. - Create a countermeasure from the task toolbar (using the
namefromdataTypes.task) and verify the link role.
See Also
- Configure FMEA Workflows — FMEA-specific configuration patterns
- Set Up Risk Matrices — custom risk matrix configuration
- Configure Downstream Tasks — mitigation and countermeasure tracking
- Configure Multiple Downstream Types — multiple countermeasure types
- Apply Conditional Formatting — additional cell styling
- Configure Calculated Columns — formula syntax reference