Understanding the Column Type
Upstream traceability columns use theitemLink or multiItemLink column type to display work items that are linked to each risk item through Polarion’s work item link relationships. The column binding specifies the Polarion field that stores the link reference, and the typeProperties section defines the linked item’s work item type and link role.
Step 1: Identify the Link Role and Work Item Type
Before configuring the column, determine:- The work item type of the upstream item (for example,
requirement,systemRequirement,hazard) - The link role connecting the risk item to the upstream item (for example,
mitigates,verifies,relatesTo)
Step 2: Add a Basic Upstream Column
Open yourrisksheet.json configuration and add an itemLink column. Specify the binding as the Polarion field that stores the link, along with the type, work item type, and role in typeProperties:
Step 3: Configure Multi-Item Upstream Columns
When a risk item can be linked to multiple upstream items (for example, multiple requirements tracing to one hazard), use themultiItemLink type instead:
multiItemLink column displays all matching linked items within a single cell, allowing users to add and remove links to multiple upstream items.
Step 4: Control Item Creation from the Column
By default, upstream columns allow users to both select existing items and create new ones directly from the cell editor. To restrict the column to selection only (preventing creation of new upstream items), setcanCreate to false:
Step 5: Make Upstream Columns Editable
By default, upstream item columns are read-only. To allow users to edit field values of the linked upstream item directly from the Risksheet grid, explicitly setreadOnly to false:
Step 6: Specify the Enum Type for Upstream Columns
When displaying enum fields from upstream items, you must explicitly set"type": "enum" in the column definition. While the type property is optional for main row item columns (it can be auto-detected from the Polarion field), it is mandatory for upstream and downstream linked item columns:
Step 7: Configure Cross-Project Upstream Items
To display upstream items from a different Polarion project, add theproject parameter to the typeProperties section:
project parameter specifies the project ID where the upstream items reside. This enables cross-project traceability, where risk items in one project reference requirements or functions defined in another.
Step 8: Configure the createInCurrentDocument Parameter
When upstream item creation is enabled (the default), the createInCurrentDocument parameter controls where newly created items are stored:
createInCurrentDocument is true, new upstream items are created within the current LiveDoc document. When false or omitted, new items are created in the Polarion tracker (outside any document).
Step 9: Build Upstream Chains with upstreamChains
When you need to automatically create links between two upstream item types that are both connected to the risk item, use the nextedy.risksheet.upstreamChains project property. This is configured at the project level, not in risksheet.json:
The format is: fromType-linkRole-toType
For example, to automatically link a Hazardous Situation to a Sequence of Events when both are linked to the same Risk Record:
The
upstreamChains property only creates links between upstream items. It never deletes existing links. If you remove an upstream item from a risk record, the chain link between the two upstream items remains intact and must be manually removed if needed.Some upstream linkages in DFMEA templates work automatically without explicit
upstreamChains configuration. If you are using a Nextedy-provided DFMEA template, test your link behavior before adding chain configuration.Step 10: Use Dependent Upstream Filtering with Query Factory
To filter the options in one upstream column based on the selection in another (for example, showing only Hazardous Situations linked to the already-selected Sequence of Events), combinecanCreate: false with a queryFactory:
queryFactory references a named query definition that dynamically filters available items based on the current row’s data. See Use Query Factory for details on configuring query factories.
Verification
After saving yourrisksheet.json configuration and refreshing the page, you should now see:
- The upstream column header displayed in the grid
- Linked upstream items showing their ID or title in each cell
- The cell editor allowing you to search for and select existing upstream items
- New item creation available (unless
canCreate: falseis set)
role and type values in typeProperties match your Polarion project’s link role and work item type definitions exactly.
See Also
- Configure Downstream Traceability Columns
- Show Multiple Linked Items
- Enable Editing of Upstream Columns
- Consolidate Multiple Link Columns
- Enable Conditional Linking
- Configure Cross-Project Linking
- Use Query Factory
Sources
Sources
KB Articles
- Add Risksheet column
- Configure upstream column to show multiple linked work items
- Configure upstream traceability columns
- Configure downstream traceability columns tasks risk control measures
- Enable editing of read-only up-stream columns
RisksheetProjectProperties.javaPolarionAppConfigManager.javaExportToPdf.tsrisksheet.jsonDefaultTraceProvider.java