The Work Item Foundation
At its core, RISKSHEET does not create a separate data structure. Instead, it provides a specialized interface for viewing and editing Polarion work items that represent risk analysis data. Every row in a Risksheet corresponds to one or more Polarion work items, and every cell value maps to a work item field. This tight coupling with Polarion’s data model means:- All data lives in Polarion work items - Changes made in RISKSHEET are immediately reflected in Polarion’s native work item views, and vice versa.
- Traceability is preserved - Work item links, history, and audit trails remain intact.
- Permissions apply consistently - Polarion’s role-based access control governs what users can view and edit.
The Two-Tier Structure
RISKSHEET displays work items in a two-tier structure:Risk Items (Master Level)
The first tier consists of risk items—work items that represent risks, hazards, failure modes, or other risk-related concepts. These items are configured in thedataTypes.risk section of the configuration and are typically of a custom Polarion work item type (e.g., risk, hazard, failureMode).
Risk items are displayed across one or more hierarchical levels defined in the levels configuration. Despite appearing as nested rows (e.g., Failure Mode → Cause), each “level” still represents the same underlying risk work item. The visual grouping is achieved by merging cells based on the controlColumn property.
For example:
- Level 1: Grouped by
failureModefield → cells with the same failure mode value are merged - Level 2: Grouped by
systemItemId(unique work item ID) → each row is a distinct risk item
Task Items (Downstream Level)
The second tier consists of task items—work items that mitigate, control, or address the risks. These are configured in thedataTypes.task section and are linked to risk items via a Polarion link role (e.g., mitigates).
Task items appear in columns to the right of risk columns (typically Level 3 or higher). Each task row represents a separate work item linked to its parent risk item. Task columns use the taskLink type and reference task item fields via dot notation (e.g., task.title, task.status).
Unlike risk items, task items are not merged—each row is a distinct task work item.
Work Item Types and Roles
RISKSHEET’s flexibility comes from its ability to work with any Polarion work item type. The configuration defines which types represent risks and tasks:| Property | Purpose | Example |
|---|---|---|
dataTypes.risk.type | Polarion work item type for risk rows | "risk" |
dataTypes.task.type | Downstream work item type(s) — comma-separated for multiple | "task,issue" |
dataTypes.task.role | Link role connecting tasks to risks — must match a Polarion link role | "mitigates" |
dataTypes.task.name | Display label in the UI | "Mitigation Measure" |
- FMEA: Risks = failure modes, Tasks = corrective actions
- HARA: Risks = hazards, Tasks = safety goals
- Custom workflows: Any work item type can represent risks or tasks
Field Bindings and Column Data
Every column in RISKSHEET maps to a work item field via thebindings property:
| Column Purpose | Bindings Example | Data Source |
|---|---|---|
| Risk field | "failureMode" | Risk item’s failureMode custom field |
| Task field | "task.title" | Linked task item’s title field |
| System field | "status" | Risk item’s status field |
| Upstream field | "requirement.id" | Upstream linked item’s id field |
task.title, requirement.id) traverses link relationships:
taskrefers to the column with"type": "taskLink"and"id": "task".titleaccesses thetitlefield of the linked task work item
- The current risk item (direct field names)
- Linked task items (via
taskLinkcolumns) - Linked upstream items (via
itemLinkormultiItemLinkcolumns)
Data Visibility Rules
Not all work items are visible in every Risksheet. Visibility is controlled by:- Document scope: Risk items must be part of the Polarion document that hosts the Risksheet (unless configured otherwise).
- Task queries: Task items are loaded based on the
document,project, orqueryproperties in thedataTypes.taskconfiguration. - Link relationships: Task items must be linked to a risk item via the configured role.
project to a specific project and query to "status:open" limits visible tasks to open items from that project, linked via the configured role.
Starting with version 23.7.0, you can load tasks from multiple projects using "projects": "Project1,Project2". Users can then select which project to create new tasks in. See Configure Downstream Traceability Columns for practical examples.
When viewing a Risksheet at a specific revision or baseline, risk items reflect the state of the document at that point in time. Task items, by default, show their latest version unless
nextedy.risksheet.downstreamFromRevision=true is set to freeze them at the baseline state.Creating and Linking Work Items
When users create new rows in RISKSHEET:- New risk items are created as Polarion work items of the configured
risktype and added to the current document. - New task items are created as work items of the configured
tasktype and automatically linked to the parent risk item via the configured role.
*) during creation and maps them to permanent Polarion IDs after the transaction commits. This allows users to create multiple related items in a single operation, even when items reference each other.
For cross-project configurations, users can select which project to create new task items in, as long as multiple projects are configured in the task.projects property.
See Create Your First Risksheet for a practical walkthrough of creating items.
Relationship to Architecture
The data model directly reflects RISKSHEET’s Architecture:- The client layer renders work items as spreadsheet rows and cells.
- The server layer mediates between the grid and Polarion, executing queries and transactions.
- The Polarion data layer stores all work items, fields, and link relationships.
Next Steps
- Learn how configuration controls data visibility: Configuration System
- Understand hierarchical levels and merging: Work Item Visibility and Levels
- Explore link relationships: Traceability and Linking
- Configure downstream tasks: Configure Downstream Traceability Columns
Sources
Sources
KB Articles
- Multiple Downstream Work Item Types
- What Work Items are visible on the Risksheet and understanding levels
- Configure downstream traceability columns (tasks, risk control measures)
risksheet.jsonAppConfig.tsPolarionAppConfigManager.javaRisksheetDataStorage.javaRisksheetProjectProperties.java