What You Will Achieve
After completing this tutorial, you will have:- A Polarion LiveDoc document with Risksheet embedded
- Risk items with severity, occurrence, and detection columns
- Automatic RPN (Risk Priority Number) calculation using formulas
- Conditional color coding that highlights high-risk items in red, medium in yellow, and low in green
- A downstream mitigation task linked to a risk item
Prerequisites
Before you begin, ensure the following:- ✅ Risksheet is installed on your Polarion server (see Installation)
- ✅ You have a valid Risksheet license (production or evaluation)
- ✅ You have permission to create documents and work items in your Polarion project
- ✅ Your project has a work item type configured for risk items (e.g.,
riskItemorfmeaItem)
Risksheet does not ship with pre-configured work item types. Your Polarion administrator must define a work item type for risk items with appropriate custom fields (severity, occurrence, detection) before you can create a risksheet. Coordinate with your administrator if these are not yet configured. If you have installed the Nextedy demo project from Administration > Nextedy RISKSHEET > Setup, default templates and the
risksheet topic definition are already available.Step 1: Navigate to Risksheet
Open your Polarion project in the browser. In the left sidebar, click the Risksheet topic entry. You should see the Risksheet home view displaying available folders and existing documents. The default folder path isRisks/Risk Specification.
Step 2: Create a New Document
- Click the Create button in the document selection interface
- Enter a name for your risk analysis document, for example:
FMEA - Sensor Module - Select the default risk specification template
| Risksheet | —> | Select Folder | —> | Create Document |
|---|---|---|---|---|
| Browse folders | Risks / Risk | FMEA - Sensor | ||
| Specification | Module | |||
| v | ||||
| Empty Risksheet | ||||
| Grid loads |
Step 3: Understand the Configuration
Risksheet reads its configuration from a file namedrisksheet.json attached to the document. When you create a document from a template, the configuration is inherited from the template automatically. If you need to customize the configuration for a specific document, you attach a risksheet.json file directly to the document, which overrides the template configuration.
The configuration defines the grid structure including columns, formulas, cell decorators, styles, and data types. Here is a minimal FMEA configuration showing the key elements:
Step 4: Add Your First Risk Item
- Right-click anywhere in the empty grid to open the context menu
- Select the option to create a new risk item (the menu entry is generated from the configured
levelswhereshowInMenuistrue) - A new row appears in the grid with a temporary ID prefixed with an asterisk (
*)
Step 5: Enter Risk Data
Click on the cells in the new row to enter the following data for a sample failure mode:| Column | Value |
|---|---|
| Failure Mode | Sensor signal drift beyond tolerance |
| Severity | 8 |
| Occurrence | 4 |
| Detection | 6 |
commonRpn formula:
192 with a yellow background (medium risk), because the value falls in the 151—350 range and the rpn2 style class is applied by the cell decorator.
Step 6: Add a Second Risk Item
Right-click the grid again and create another risk item. Enter data for a different failure mode:| Column | Value |
|---|---|
| Failure Mode | Power supply voltage drop |
| Severity | 9 |
| Occurrence | 2 |
| Detection | 5 |
9 x 2 x 5 = 90, displayed with a green background (low risk: 1—150 range, rpn1 style).
Step 7: Add a Downstream Mitigation Task
- Select the first risk item row (Sensor signal drift)
- Right-click and select the option to add a new task
- A new task row appears below the risk item with a generated task ID
- Enter a task description such as
Add temperature compensation algorithm
systemItemId field, which links the task row to its parent risk item. When you add multiple tasks to the same risk item, they appear as consecutive rows below the parent.
Task creation is controlled by the
readonly and downstreamReadonly configuration properties. If downstreamReadonly is set to true, you cannot create or edit tasks from within the risksheet. When the grid-level readonly property is true, all editing including task creation is disabled.Step 8: Save Your Work
Click the Save button in the toolbar to persist all changes to Polarion. You should see a success confirmation. After saving:- Temporary IDs (prefixed with
*) are replaced with permanent Polarion work item IDs - All risk items and tasks are stored as standard Polarion work items
- Field values and link relationships between risk items and tasks are preserved
- The items participate in Polarion traceability, baselines, and reporting
Step 9: Verify the Data in Polarion
Right-click on the first risk item and select Open Row Item from the context menu. This opens the work item in the Polarion item editor. You should see the risk item with all the field values you entered, plus a link to the downstream mitigation task.Summary
You have created a risk analysis document with two risk items and one mitigation task. The key elements you used:| Element | Purpose |
|---|---|
| Risk document | Container for risk items in a specific folder path |
risksheet.json | Configuration file defining grid structure, formulas, and styles |
columns | Array defining visible columns with ID, header, width, and type |
ratings | Enumeration definitions for severity, occurrence, and detection scales |
formulas.commonRpn | Automatic RPN calculation from Severity x Occurrence x Detection |
cellDecorators.rpn | JavaScript function applying color-coded CSS classes based on RPN thresholds |
styles | CSS class definitions for risk level visual formatting |
| Downstream task | Mitigation action linked to a risk item via systemItemId |
Next Steps
- Understanding the Interface — learn the full grid layout, context menu, toolbar, and navigation features
- Basic Configuration — customize columns, add header groups, configure review workflows, and adjust global settings
- Column Type Reference — explore all available column types including item links, multi-enum, and calculated columns
- Conditional Formatting — customize cell decorators and styles for your risk thresholds
- Formula Examples — learn advanced formula patterns for HARA, TARA, and custom calculations
- Levels Configuration — configure hierarchical levels for failure mode, cause, and effect structures
Sources
Sources
KB Articles
- How to install Risksheet into existing project Drive pilot
- Risksheet Document Config File - risksheet - format reference
- Adjusting Risksheet configuration
- Open Risksheet from item on another Risksheet
risksheet.jsonRisksheetProduct.javaAppConfig.tsRisksheetProjectProperties.javaAddTaskCommand.ts