How Enum Columns Work
Enum columns do not define their own value lists. All enumeration values come from Polarion:- An enumeration is defined in Administration > Enumerations (a Polarion-native enumeration XML).
- A custom field on the relevant work item type is bound to that enumeration in Administration > Work Items > Custom Fields.
- The Risksheet column references the field through its
bindingsproperty and declares the enumeration via itstypeproperty.
enums or ratings section in the sheet configuration — those are not real configuration sections and are ignored by the engine.
Define an Enum Column
Add a column entry to the sheet configuration file (risksheet.json) with the type property set to enum:<enumId>, and bind it to the matching Polarion custom field:
risk_category above) is the Polarion enumeration ID, exactly as it appears in Administration > Enumerations. The bindings property (note the trailing s) names the custom field on the risk work item that stores the selected value.
Choose the Right Enum Type
Risksheet provides three column types for enumerations:
The Polarion enumeration drives the dropdown content in all three cases. For
rating:* columns, the engine also surfaces each enum option’s description text, which is configured on the enumeration itself in Polarion.
Define the Enumeration in Polarion
To create or modify a rating scale, administrators define it in Polarion:- Open Administration > Enumerations in the target project (or in the Global Library for cross-project reuse).
- Create or edit an enumeration such as
severity_scale. Each entry has an internal ID, display name, and optional description. - Create or update a custom field on the risk work item type bound to this enumeration.
- Reference the enumeration in the column definition:
type: rating:severity_scale,bindings: severity.
1 — Negligible through 5 — Fatal, each with a description. The server loads these automatically.
Configure Rating Columns for Risk Parameters
Rating columns are intended for risk parameter scales — severity, occurrence, detection, ASIL exposure, controllability, and similar. Each option’s description is shown in the dropdown alongside its name to help risk analysts pick the correct level.occurrence_scale and severity_scale must already exist as Polarion enumerations, with the occurrence and severity custom fields bound to them on the underlying work item type.
Bind to Polarion Custom Fields
Thetype value must match the enumeration referenced by the bound Polarion custom field. Two common forms appear in production configurations:
Standard enum custom field:
Dependent Enums (Column-Level, v25.3.1+)
Risksheet supports dependent enumerations where one column’s available options are filtered by the value selected in another column. This is a column-level feature configured on the dependent column (since v25.3.1+); it is not a top-level configuration section. For the column-level configuration syntax, see Configure Dependent Enums.Use Enum Values in Formulas and Cell Decorators
When a formula or cell decorator reads an enum column value, it receives the enum ID, not the display name. Compare against IDs in your logic:initial_* and additional_* — String.prototype.startsWith works well inside a toggleClass decorator. Always use $(info.cell).toggleClass(...) rather than inline styles, so styling is removed correctly when cells are reused during scrolling.
Verification
After configuration, you should see:- Dropdown selectors when clicking into an enum column cell.
- Correct option labels (not raw IDs) in the dropdown list.
- For
rating:*columns, both name and description for each option. - For dependent enums, child options filtered by the selected parent value.
type does not match the Polarion enumeration or the custom field is not bound correctly.
See Also
- Configure Multi-Enum Columns — multi-select enum configuration
- Configure Dependent Enums — cascading enum relationships
- Configure Multi-Select Enums — advanced multi-select patterns
- Apply Conditional Formatting — style cells based on enum values
- Add a Basic Column — column configuration fundamentals