Why Traceability Matters
In regulated industries like automotive (ISO 26262), medical devices (IEC 62304), or aerospace, demonstrating traceability isn’t optional—it’s a compliance requirement. Auditors need to see that every identified risk has been assessed, every hazard has been analyzed, and every mitigation task has been implemented. RISKSHEET’s traceability system provides this visibility by making work item relationships explicit and queryable. But traceability isn’t just about compliance. It answers critical project questions:- Impact analysis: Which risks are affected if a requirement changes?
- Coverage gaps: Which hazards haven’t been assessed yet?
- Mitigation status: Which high-severity risks still lack control measures?
- Cross-functional visibility: How do system requirements map to software risks?
The Two Directions of Traceability
RISKSHEET implements traceability bidirectionally:Upstream Traceability
Upstream links answer “What are we assessing?” They connect risk items to higher-level work items like system requirements, hazards, or functional specifications. These links define the scope of your risk analysis. In a typical FMEA workflow:- A Failure Mode links upstream to a System Requirement (what could fail)
- A Hazardous Situation links upstream to a Hazard (what dangerous condition exists)
- A Risk links upstream to a Use Case (which usage scenario is being analyzed)
Downstream Traceability
Downstream links answer “What are we doing about it?” They connect risk items to action items—mitigation tasks, control measures, design changes, or verification activities. These links prove that identified risks are being addressed. In risk management workflows:- A Failure Mode links downstream to Risk Control Measures (how we’re mitigating)
- A Risk links downstream to Verification Tasks (how we’re validating)
- A HARA entry links downstream to Safety Requirements (what we’re implementing)
How Link Relationships Work
RISKSHEET doesn’t invent its own linking mechanism—it uses Polarion’s native work item link roles. When you configure traceability, you’re specifying:- Link Role: The relationship type (e.g., “assesses”, “mitigates”, “verifies”)
- Link Types: Which work item types participate (e.g., “systemrequirement”, “task”, “risk”)
- Link Direction: Forward link or backlink
linkRole (e.g., “assesses”), the linkTypes (which work item types to show, e.g., “systemrequirement,swreq”), and the backLink direction. When a user links items through RISKSHEET, Polarion creates the corresponding relationship (e.g., Risk Item ──[assesses]──> System Requirement).
This architecture means your traceability data lives in Polarion’s database, not in RISKSHEET configuration files. Other Polarion tools (Document Studio, LiveDoc, Reports) can query the same relationships.
Where Linked Items Come From
Traceability columns can load items from multiple sources:Document-Based Loading
Items are loaded from a specific Polarion document by setting thedocument property (e.g., “Risks/harms”) along with the linkRole, linkTypes, and an optional query filter. The picker shows only items from that document matching the query. New items created through the picker are placed in the same document.
Project-Based Loading
Items are loaded from anywhere in the specified project(s) by setting theproject property instead of document. Combined with linkRole, linkTypes, and a query filter, this enables cross-document traceability—your risks in one document can link to tasks scattered across multiple project documents.
Query-Factory Loading
The most powerful pattern: dynamically determine which items to show based on other column values. AqueryFactory is a named JavaScript function (defined in the queryFactories section) that generates a Polarion query at runtime based on the current row’s field values. For example, a query factory can restrict a hazardous situation picker to only show items linked to the sequence already selected in another column. This creates cascading filters where later columns depend on earlier selections. See Configure Query Factories for implementation details.
Multi-Type Traceability
Real-world workflows often need flexibility in work item types. A risk might be mitigated by either a Task or an Issue, depending on the project phase. RISKSHEET supports multiple types in a single traceability column. ThedataTypes.task section accepts comma-separated values for both type (e.g., “task,issue,actionItem”) and project (e.g., “RiskProject,SafetyProject”), along with the role and display name.
When creating new downstream items, users can choose which type and which project to create in. This flexibility mirrors how teams actually work—not all mitigations are “tasks”, and not all mitigations belong in the same project.
See Configure Multiple Downstream Types for implementation details.
Revision-Based Traceability
When viewing historical document revisions or baselines, RISKSHEET shows the traceability relationships as they existed at that point in time. This enables:- Compliance audits: Prove which control measures existed when a product was released
- Change impact analysis: Compare which requirements were assessed before and after a design change
- Historical reporting: Generate traceability matrices for archived project phases
Cross-Project Traceability Patterns
Pattern 1: Central Hazard Library
Organizations often maintain a master list of hazards in one project, referenced by risk analyses in multiple product projects.project to “HazardLibrary”, document to “MasterHazards”, and canCreate to false (preventing users from creating library items from product sheets). See Configure Cross-Project Linking for the full configuration reference.
Pattern 2: Requirements Decomposition
System requirements in one project map to software requirements in another, and software risks assess those requirements.- Project: SystemEngineering └─ System Requirements
- Project: SoftwareEngineering └─ Software Requirements ──[derivedFrom]──> System Requirements └─ SFMEA Document └─ Failure Modes ──[assesses]──> Software Requirements
RISKSHEET also supports Polarion’s branched documents, where multiple product variants share a common baseline. However, referencing risk items from multiple external risksheets (not through branching) is not yet supported. See Work with Branched Documents for current capabilities.
Traceability vs. Hierarchy
A critical distinction: traceability links are not the same as parent-child document structure.- Document hierarchy (parent-child in Polarion documents) controls outline structure and numbering
- Traceability links (work item relationships) define logical dependencies for analysis
Practical Applications
Impact Analysis Queries
Because traceability lives in Polarion’s link database, you can write queries like:linkedWorkItems:(id:REQ-123 AND type:risk)— Find all risks assessing requirement REQ-123linkedWorkItems:(status:open AND type:task)— Find all risks with open mitigation taskslinkedWorkItems.linkedWorkItems:(type:testcase)— Find risks whose tasks have linked test cases (two-hop query)
Coverage Reports
Generate reports showing:- Requirements without linked risk assessments (coverage gaps)
- Risks without mitigation tasks (action item gaps)
- High-severity risks with incomplete mitigations (priority violations)
Suspect Link Detection
When upstream items change, Polarion can mark downstream links as “suspect”, indicating the risk assessment may need review. RISKSHEET can filter or highlight suspect relationships, triggering re-analysis workflows.Related Topics
- Implementation: Configure Upstream Traceability Columns
- Implementation: Configure Downstream Traceability Columns
- Advanced: Enable Conditional Linking
- Advanced: Configure Cross-Project Linking
- Concept: Data Model and Work Items
- Reference: Item Link Columns
- Reference: Task Link Columns
Sources
Sources
KB Articles
- Configure upstream traceability columns
- Configure downstream traceability columns (tasks, risk control measures)
DefaultTraceProvider.javaRisksheetProjectProperties.javaAppConfigParser.tsExportToPdf.ts