Define Risk Data Types
Configure thedataTypes section in your risksheet.json to specify each risk item type. The dataTypes.risk object defines the primary risk work item type:
| Property | Description | Default |
|---|---|---|
dataTypes.risk.type | Polarion work item type for risk items | None (required) |
dataTypes.risk.role | Link role used when creating relationships to risk items | None (required) |
dataTypes.risk.removeStrategy | Strategy for removing risk items (delete or other) | delete |
Add Additional Risk Item Types via Levels
To include multiple risk types in a single Risksheet, define separatelevels entries in your configuration. Each level maps to a specific work item type and controls hierarchy and menu behavior:
showInMenu property (default: true) controls whether the level type appears in the context menu for creating new items. Set it to false for levels that should not be created directly from the menu.
Set Project Property for Multiple Document Types
When your project contains multiple risk document types, configure the project property with the correct syntax:Assign Columns to Hierarchy Levels
Different risk types may need different columns. Use thelevel property on columns to assign them to specific hierarchy levels:
level property (default: 1) determines at which hierarchical level the column appears. Task columns do not use the level property.
Configure Rejection Handling Per Type
When using review workflows with multiple risk types, configure rejection behavior in thedataTypes.risk section:
| Property | Description | Default |
|---|---|---|
rejectedAction | Workflow action to execute when a risk item is rejected | reject |
rejectedStatus | Status value to set on rejection | rejected |
rejectedResolution | Resolution value to set on rejection | invalid |
Verify Your Changes
You should now see work items of all configured types displayed in the Risksheet grid, organized by your level hierarchy. The context menu should show creation options for each type whereshowInMenu is true. Items with types not listed in the configuration should be automatically filtered out.
See Also
- Configure FMEA Workflows — FMEA-specific type configuration
- Configure HARA Workflows — HARA with custom work item types
- Configure Downstream Tasks — task type configuration
- Display Multi-Level Hierarchies — level-based column display
- Implement STRIDE Analysis — cybersecurity threat type configuration
Sources
Sources
KB Articles
- Configure Multiple Risk Item types
- Risksheet Configuration Properties
- What Polarion license types does Risksheet support-
- Setup risk review process
risksheet.jsonRisksheetProjectProperties.javaPolarionAppConfigManager.javaAppConfig.tsRisksheetViewServlet.java