The dataTypes object configures the work item types used in the Risksheet grid. Each entry defines the Polarion work item type, link role, and behavior settings for a category of items.
Configures risk and task data types including query factories, work item types, roles, and menu visibility. Each key identifies a data type category (e.g., risk, task).
Work item type identifier for risk items (e.g., failureMode, hazard, riskItem). Must match a work item type defined in the Polarion project. Supports dynamic expression evaluation from project properties.
dataTypes.risk.role
string
None
Link role used when creating relationships between risk items and parent structures. Defines the traceability relationship in Polarion’s link model.
dataTypes.risk.removeStrategy
string
delete
Strategy for removing risk items from the grid. delete permanently removes the work item from Polarion.
dataTypes.risk.rejectedAction
string
reject
Workflow action executed when a risk item is rejected during a review process. Must match a valid workflow action defined for the risk work item type.
dataTypes.risk.rejectedStatus
string
rejected
Status value applied to rejected risk items after the rejected workflow action executes.
dataTypes.risk.rejectedResolution
string
invalid
Resolution value applied to rejected risk items. Set alongside the rejected status during the rejection workflow.
dataTypes.risk.showInMenu
boolean
true
Controls whether the risk item creation option appears in the toolbar menu and context menu. Set to false to prevent users from creating new risk items directly in the grid.
Work item type identifier for mitigation tasks (e.g., mitigationAction, corrective_action, task). Must match a work item type defined in the Polarion project.
dataTypes.task.role
string
None
Link role for connecting tasks to their parent risk items. Defines the mitigation relationship in Polarion’s link model.
dataTypes.task.name
string
Task
Display name for the task type shown in context menu labels (e.g., Open Task Item becomes Open Mitigation Action when set to "Mitigation Action").
dataTypes.task.showInMenu
boolean
true
Controls whether the task creation button appears in the toolbar menu and context menu. Set to false to hide the task creation option.
dataTypes.task.zoomColumn
string
None
Column ID that receives focus after a new task is created. Determines which column the cursor moves to when you add a task from the context menu.
Set showInMenu: false on dataTypes.task or dataTypes.risk to remove the creation button from the toolbar and context menu. For item link columns, use canCreate: false to allow linking existing items only without creating new ones.
Column ID that holds the task identifier. Used by the grid to determine task presence, generate new task IDs, and group task rows under their parent risk items. Critical for task management features including context menu actions and multi-task insertion.
When you create a new task, Risksheet automatically generates a unique task identifier. The ID is stored in both the taskColumn binding and the companion {taskColumn}_link field, which holds the reference to the linked Polarion work item.
Array of column IDs defining the default sort order when the grid loads. Column IDs are listed in priority sequence — the first entry is the primary sort, the second is the secondary sort, and so on. Prefix a column ID with ~ (tilde) for descending sort.
Descending sort by due date, then ascending by priority:
{ "sortBy": ["~dueDate", "priority"]}
Sort by outline number to match LiveDoc order:
{ "sortBy": ["outlineNumberColumn"]}
To sort Risksheet items by document outline number (matching the LiveDoc order), create a serverRender column that uses Velocity to extract and zero-pad outline number segments, then set that column’s ID as the sortBy parameter. Zero-padding ensures that 1.10 sorts after 1.2.
Work item ID sort that handles the PROJECT-NNN format correctly (e.g., PROJECT-2 sorts before PROJECT-10)
multiItemLink
Concatenated labels
Parses JSON array, concatenates all item labels, and sorts by the combined string. Unsaved items (prefixed with *) are sorted with their asterisk intact.
outlineNumber binding
Hierarchical
Hierarchical sort where 1.2 comes before 1.10, maintaining document structure
All sorting, filtering, and pagination are performed client-side in the browser for immediate visual feedback without server round-trips. Data is loaded once from the server and manipulated entirely in the client.
When comparing to a baseline, the sort system switches context to compare-to-link item values for all columns except systemItemId and systemItemRevision. This means sorting during baseline comparison operates on the baseline snapshot values rather than current values, except for system identity fields which always refer to the current item.
Makes the entire Risksheet grid read-only, preventing any user edits to grid cells or structure. Automatically set to true when viewing historical revisions (non-empty revision URL parameter).
downstreamReadonly
boolean
false
Makes downstream linked items (items from other documents) read-only. When true, prevents edits to downstream items and blocks task creation for items with downstream readonly state.
reviewer
boolean
false
Enables reviewer mode, which restricts editing capabilities and shows review-specific UI controls. Designed for users who review risk analyses without modifying the data.
Indicates whether the current user has administrative privileges for configuration editing. When true, the user can access the Risksheet configuration editor. This value is set by the server based on user permissions.
Array of saved view presets defining column visibility configurations. Each view specifies which columns are visible, allowing users to switch between different analysis perspectives (e.g., “FMEA View”, “Mitigation View”, “Review View”).
See Saved Views for detailed view configuration reference.
Reviews are created as Polarion comments attached to the work item. The first review mode checked — takes precedence if multiple modes are configured.
ApprovalBased
Reviews use Polarion’s native approval comment system. Comments are created with the fixed title Approval comment. Displays reviewer name, timestamp, and comment text.
WorkItemBased
Reviews are created as separate Polarion work items linked to the reviewed item. Requires additional configuration: typeProperties.linkTypes (work item type) and typeProperties.linkRole (link role). Supports cross-project review creation.
The review system adds two special column bindings to the grid:
Binding
Description
reviewsRendered
Displays review status and approval information formatted as HTML with the risk_reviews CSS class
reviewsAdd
Provides UI controls to create new reviews or approvals
Path to the configuration source file (document or template) used to load this Risksheet configuration. Set automatically by the system.
templateName
string
null
Name of the template document from which configuration was inherited. Includes project name prefix if the template is from a different project. Empty if configuration is directly attached to the document.
These project-level properties in Polarion Administration affect Risksheet work item behavior. Configure them in the Polarion project settings, not in risksheet.json.
Name
Type
Default
Description
nextedy.risksheet.templatePath
string
Risks/Risk Specification
Document template path(s) where risk documents can be created. Supports multiple paths separated by commas.
nextedy.risksheet.toolName
string
Risksheet
Custom display name for the tool in the Polarion UI. Organizations can rebrand (e.g., FMEA Tool, Risk Matrix).
nextedy.risksheet.documentNames
string
Risk Analyses
Plural form of the document name shown in UI navigation.
nextedy.risksheet.documentName
string
Risk Analysis
Singular form of the document name shown in UI.
nextedy.risksheet.branchingSupport
boolean
false
Enables referenced work items from branched documents. Required for document.id queries.
nextedy.risksheet.disableAutoSuspect
boolean
false
Disables automatic suspect link marking when changes are made through Risksheet. When true, edits in Risksheet will not trigger suspect links.
nextedy.risksheet.suggester.requireKeyword
boolean
false
Controls whether keywords are mandatory when using the suggester for finding and linking work items.
nextedy.risksheet.suggester.fuzzy
boolean
true
Enables fuzzy searching in the item suggester, allowing approximate matches for spelling variations.
nextedy.risksheet.suggester.resultLimit
number
20
Maximum number of suggestions shown when searching for items to link. Higher values may impact performance.
nextedy.risksheet.suggester.wildcard
boolean
true
Enables wildcard characters (* and ?) when searching for items.
nextedy.risksheet.suggester.allFields
boolean
false
When true, searches all fields of linked items instead of just primary fields. May impact performance.
Risksheet uses deferred commit mode for data persistence. Changes are batched in memory and sent to the server together when you click Save, rather than saving each edit immediately.
Behavior
Description
Batch editing
Multiple edits accumulate in the browser before persistence
Save operation
All pending changes are submitted to the server in a single transaction
New item handling
New items receive temporary *-prefixed IDs until saved. After save, IDs are replaced with permanent Polarion work item IDs.
Entity updates
After save, the grid replaces entity content in-place for both new items (by temporary ID) and existing items (by permanent ID)