Polarion-to-Risksheet Field Type Matrix
Text and String Fields
Risksheet handles both plainString fields and rich Text fields from Polarion. Both map to the text column type.
When editing a rich text field through Risksheet, formatting is not preserved. The field is saved as plain text. To preserve rich text formatting, edit the field through the standard Polarion work item form.
Numeric Fields
Risksheet supports four numeric column types with different precision and semantics:
The
int and rating types are interchangeable at the storage level. rating is semantically intended for risk assessment parameters (severity, occurrence, detection) and is associated with a Polarion enumeration that defines its allowed values; int is a plain integer.
Type Conversion Between Numeric Types
Risksheet can convert between numeric types and string representations:Boolean Fields
Boolean columns render as checkboxes in the grid. The conversion system handles both native Boolean objects and string representations.Date and Time Fields
Risksheet supports three temporal column types, all backed by Polarion’s Date field type. The columntype setting determines which component is displayed.
The conversion system automatically handles:
- Polarion
Dateobjects - Java
DateandCalendarobjects - ISO 8601 format strings (
yyyy-MM-ddfor dates,hh:mm:ssfor times)
Enumeration Fields
Risksheet supports both single-select and multi-select enumerations. Enumeration values are defined in Polarion under Administration > Enumerations, and the column references the enumeration by its ID through itstype property. The server loads the enum values automatically — there is no top-level enums section in the sheet configuration.
Single Enum
Multi-Select Enum
WorkItem enum fields (enumerations of work item types) require specific type syntax matching the XML custom field definition. For example:
type: multiEnum:@NoIDWorkItems[workpackage]. These have limited support compared to standard enum fields.Rating Fields
Rating columns are a specialized numeric column type intended for risk assessment scales (severity, occurrence, detection). Rating scales are defined as Polarion enumerations (Administration > Enumerations), and a custom field on the risk work item type binds to that enumeration. The Risksheet column then references both the enumeration and the field.type: rating:<enumId> and bindings: <fieldId>.
Duration Fields
Duration columns handle PolarionDurationTime fields and can also store durations in Integer or Float fields.
User Reference Fields
User reference columns handle Polarion user assignment (assignee) fields with special behavior:Read-Only System Fields
The following Polarion fields are always read-only in Risksheet. Save attempts are silently ignored:Type Override
You can override the auto-detected type by explicitly setting thetype property on a column. This allows displaying a Polarion field differently from its native storage type.
Type override behavior depends on the actual field values being parseable in the target format. A string field overridden to
date will fail to parse non-date values gracefully.Autocomplete and Suggestions
Certain field types support autocomplete suggestions as you type. The suggestion system provides real-time matching from the Polarion database.Autocomplete behavior is controlled by project-level configuration properties. The suggestion API endpoint supports fuzzy search, wildcard search, and keyword-based filtering. See Suggestion and Autocomplete API for details.
Complete Example
A sheet configuration demonstrating all major supported field types:severity, occurrence, riskCategory, and affectedSystems identifiers in this example are Polarion enumerations defined under Administration > Enumerations. Their option values are loaded automatically by the server — they are not declared inside the sheet configuration.
Related Pages
- Field Mapping — binding system and field resolution
- System Fields — system-level bindings and constants
- Data Types — column data type behavior
- Column Type Reference — column definition properties
- Enum Columns — enum field configuration
- Date and Time Columns — temporal field handling
- User Reference Columns — user field configuration
- Culture and Localization Codes — locale settings affecting display