Add a Basic Enum Column
Define an enum column in yourrisksheet.json configuration:
- •
"type": "enum:enumId"— Specifies enum type using Polarion enumeration ID "level": 1— Assigns column to risk item level (not task level)"filterable": true— Enables filtering by enum values
Enum Type Syntax
| Syntax Pattern | Description | Example |
|---|---|---|
enum:enumId | Standard Polarion enumeration | enum:severity_5 |
enum:rating_name | Rating-based enumeration (1-5 scale) | enum:occurrence_10 |
workflow | Workflow status field | workflow |
| Auto-detected | Omit type; inferred from field binding | Binding status → type auto-set to workflow |
Bind to Polarion Enum Fields
Connect the column to a Polarion custom field:- Loads valid enum values from Polarion
- Displays dropdown options when users click the cell
- Saves selections back to the work item field
Workflow Status Column
For the special case of workflow status fields:- Workflow columns (
type: "workflow") bind to the work item status field and respect workflow transition rules - Standard enum columns bind to custom enumeration fields and allow free selection of any valid value
- Workflow columns may restrict available options based on current status and user permissions
Enum Columns for Upstream/Downstream Items
Display enum values from linked work items:"bindings": "linkColumn.fieldName"— Access enum field from linked item"readOnly": false"— Allow editing (default is read-only for upstream columns)
Configure Dependent Enums (Future Feature)
As of the current release, true dependent/cascading enumerations (where one enum filters another based on selection) are not yet available. This feature is planned for release by March 2025. Planned functionality:- Filter enum options based on another field’s value
- Cascading dropdowns (e.g., Category → Subcategory)
- Conditional enum population
While waiting for dependent enum support, you can use cell decorators to conditionally enable/disable linking or editing based on enum values. See Enable Conditional Linking for examples.
Cell Styling Based on Enum Values
Apply conditional formatting using cell decorators:Multi-Enum Work Item Columns
For enumerations that reference multiple work items (used in traceability):- Open your Polarion project’s custom field configuration XML
- Find the field definition (e.g.,
<field id="requirements">) - Look for the enumeration reference:
<option id="multiEnum:@NoIDWorkItems" .../> - Use this exact syntax in your column type
Verification
After adding enum columns to your configuration:- Reload the RISKSHEET page
- Click an enum cell — You should see a dropdown with enumeration options
- Select a value — Cell should update with the chosen enum label (and icon if configured)
- Save the sheet — Value should persist to the Polarion work item
- Filter the column — If filterable, use the column header filter to show only specific enum values
- Check styling — If cell decorators are configured, cells should display conditional colors
See Also
- Configure Multi-Enum Columns — Multiple selection enum columns
- Configure Dependent Enums — Cascading dropdown configuration
- Enum Columns Reference — Technical reference
- Apply Conditional Formatting — Style cells based on values
- Cell Decorators Reference — Decorator scripting
- Supported Field Types — Field type mapping
- Enable Conditional Linking — Enum-based linking control
Sources
Sources
KB ArticlesSupport TicketsSource Code
AppConfig.tsRisksheetViewServlet.javaGetSetUtil.javaAppConfigHelper.tsExportToPdf.ts