| risksheet.json column Polarion Field OData API | ||||
|---|---|---|---|---|
| type: “text” | ----> | String / Text | —> | Edm.String |
| type: “int” | ----> | Integer | —> | Edm.Int64 |
| type: “float” | ----> | Float | —> | Edm.Double |
| type: “boolean” | ----> | Boolean | —> | Edm.Boolean |
| type: “date” | ----> | Date / DateOnly | —> | Edm.Date |
| type: “datetime” | ----> | Date | —> | Edm.DateTimeOff. |
| type: “time” | ----> | Date / TimeOnly | —> | Edm.DateTimeOff. |
| type: “currency” | ----> | Currency / BigDec | —> | Edm.Decimal |
| type: “rating” | ----> | Integer | —> | Edm.Int32 |
| type: “duration” | ----> | DurationTime | —> | Edm.String |
| type: “enum:id” | ----> | Enum Option | —> | Edm.String |
| type: “multiEnum” | ----> | List<EnumOption> | —> | Edm.String |
Data Type Summary
| Type Identifier | OData EDM Type | Storage Precision | Editable | Notes |
|---|---|---|---|---|
text | Edm.String | Unlimited string | Yes | Rich text converted to plain text for display |
int | Edm.Int64 | 64-bit integer | Yes | Interchangeable with rating |
float | Edm.Double | Double precision | Yes | Standard floating-point |
boolean | Edm.Boolean | True/False | Yes | Renders as checkbox |
date | Edm.Date | Date only | Yes | Format: yyyy-MM-dd |
datetime | Edm.DateTimeOffset | Date and time | Yes | Full timestamp with timezone |
time | Edm.DateTimeOffset | Time only | Yes | Format: hh:mm:ss |
currency | Edm.Decimal | BigDecimal | Yes | Full decimal precision for financial data |
rating | Edm.Int32 | 32-bit integer | Yes | Interchangeable with int; used for risk scales |
duration | Edm.String | String-encoded | Yes | Polarion DurationTime format |
enum | Edm.String | Enum option ID | Yes | Single selection from enumeration |
multiEnum | Edm.String | Colon-separated IDs | Yes | Multiple selection from enumeration |
Text Type
Thetext type displays string and rich text content. Rich text fields from Polarion are automatically converted to plain text for grid display. Links embedded in content are processed for proper rendering.
| Property | Value |
|---|---|
| Type identifier | text |
| OData type | Edm.String |
| Default for | Polarion String and Text fields |
| Fallback type | Any unrecognized column type defaults to text |
| Rich text handling | Stripped to plain text; links auto-processed |
| Multi-line | Enabled by default (multiLine: true) |
| Word wrap | Enabled by default (wordWrap: true) |
Any column type not explicitly recognized by Risksheet defaults to text (
Edm.String). This provides graceful degradation for custom or future column types and means that mistyping a type identifier will not cause errors — the column will simply render as a plain text field.Integer Type
Theint type stores whole numbers as 64-bit integers. It is functionally interchangeable with the rating type at the storage level, though rating is semantically intended for risk assessment scales and maps to a 32-bit integer in OData.
| Property | Value |
|---|---|
| Type identifier | int |
| OData type | Edm.Int64 |
| Precision | 64-bit signed integer |
| Interchangeable with | rating |
| String parsing | Converts string representations to integers automatically |
| Backing fields | Polarion Integer, String (auto-parsed), Float (truncated) |
Float Type
Thefloat type stores decimal numbers using double-precision floating-point representation. It handles conversion between numeric types and parses string representations automatically.
| Property | Value |
|---|---|
| Type identifier | float |
| OData type | Edm.Double |
| Precision | IEEE 754 double precision |
| String parsing | Converts string representations to floating-point |
| Backing fields | Polarion Float, Integer, String (auto-parsed) |
Boolean Type
Theboolean type handles true/false values with automatic conversion between string representations ("true" / "false") and native Boolean objects. In the grid, boolean columns render as checkboxes.
| Property | Value |
|---|---|
| Type identifier | boolean |
| OData type | Edm.Boolean |
| Display | Checkbox |
| String conversion | "true" and "false" strings accepted |
| Null handling | Null values display as unchecked |
Date Type
Thedate type stores date-only values without a time component. Values are formatted in ISO 8601 format (yyyy-MM-dd). The system automatically converts between Polarion Date types, Java Date/Calendar objects, and ISO string representations.
| Property | Value |
|---|---|
| Type identifier | date |
| OData type | Edm.Date |
| Format | yyyy-MM-dd |
| Time component | None (date only) |
| Conversion | Handles Polarion Date, Java Date/Calendar, and ISO strings |
| Culture sensitivity | Display format affected by global.culture setting |
DateTime Type
Thedatetime type stores a full timestamp including both date and time components with timezone offset. This is the type to use when you need to capture both the date and the time of day.
| Property | Value |
|---|---|
| Type identifier | datetime |
| OData type | Edm.DateTimeOffset |
| Format | Full date-time with timezone offset |
| Conversion | Handles Polarion Date, Java Date/Calendar, and ISO strings |
| Culture sensitivity | Display format affected by global.culture setting |
Time Type
Thetime type stores time-only values without a date component. Values display in hh:mm:ss format. Note that despite storing only a time component, this type maps to Edm.DateTimeOffset in OData.
| Property | Value |
|---|---|
| Type identifier | time |
| OData type | Edm.DateTimeOffset |
| Format | hh:mm:ss |
| Date component | None (time only) |
| Conversion | Handles Polarion Date, Java Date/Calendar, and ISO strings |
Currency Type
Thecurrency type uses BigDecimal precision for financial data, wrapping values in Polarion’s Currency type for accurate decimal calculations without floating-point rounding errors.
| Property | Value |
|---|---|
| Type identifier | currency |
| OData type | Edm.Decimal |
| Precision | BigDecimal (arbitrary precision) |
| Polarion storage | Currency type wrapper |
| Conversion | Handles numeric values and string representations |
| Use case | Cost tracking, financial risk quantification |
Rating Type
Therating type is semantically designed for risk assessment scales such as severity, occurrence, and detection ratings. It is functionally similar to int but maps to a 32-bit integer in OData and is commonly used with the colon syntax to reference a named rating scale.
| Property | Value |
|---|---|
| Type identifier | rating or rating:scaleId |
| OData type | Edm.Int32 |
| Precision | 32-bit signed integer |
| Interchangeable with | int |
| Typical use | Risk parameter scales (1-10, 1-5) per ISO 26262, ISO 14971 |
| Colon syntax | References a named scale in the ratings section |
ratings section of your risksheet.json:
Duration Type
Theduration type handles time span values. Duration values can be backed by Polarion’s DurationTime type, or stored as numeric values (integers or floats) representing duration units. Despite representing time-based data, duration values are stored and transmitted as strings in OData.
| Property | Value |
|---|---|
| Type identifier | duration |
| OData type | Edm.String |
| Storage | String-encoded Polarion DurationTime |
| Backing fields | DurationTime, Integer, or Float fields |
| Parsing | Uses Polarion’s DurationTime format |
| Example values | "1d 4h", "2h 30m" |
Enum Type
Theenum type displays single-selection enumeration fields. The system uses enum option IDs for most fields, with the exception of the status field which displays the human-readable enum name. Enum columns support Polarion native enum fields, string fields, and integer fields as backing storage.
| Property | Value |
|---|---|
| Type identifier | enum or enum:enumerationId |
| OData type | Edm.String |
| Selection | Single value |
| Display | Enum option ID (name for status field only) |
| Colon syntax | enum:enumerationId references a named enum set |
| Backing fields | Native enum, string, or integer Polarion fields |
enums section of risksheet.json:
Multi-Enum Type
ThemultiEnum type allows selecting multiple enumeration values from a dropdown. It works with native Polarion multi-enum List fields as well as string fields containing comma-separated enum IDs. Blank options are automatically filtered out.
| Property | Value |
|---|---|
| Type identifier | multiEnum or multiEnum:enumerationId |
| OData type | Edm.String |
| Selection | Multiple values |
| Colon syntax | multiEnum:enumerationId references a named enum set |
| Backing fields | Polarion List of enum options or comma-separated strings |
| Blank handling | Blank options automatically filtered out |
WorkItem enum fields require specific type syntax matching the XML custom field definition. For example,
type: "multiEnum:@NoIDWorkItems[workpackage]" references a WorkItem enum with a specific configuration. Upstream and downstream WorkItem enum fields have limited support compared to row item properties.Type Prefix Extraction and Colon Syntax
Risksheet column types support a colon-separated syntax where the portion before the first colon identifies the base type, and the portion after carries additional configuration parameters. This is how columns reference their enumeration, rating, or reference definitions.| Pattern | Base Type | Parameter | Purpose |
|---|---|---|---|
enum:severity | enum | severity | References the severity enum definition |
rating:occurrence | rating | occurrence | References the occurrence rating scale |
multiEnum:affectedSystems | multiEnum | affectedSystems | References the affectedSystems enum set |
ref:requirement | ref | requirement | References a linked item type |
multiEnum:@NoIDWorkItems[type] | multiEnum | @NoIDWorkItems[type] | References a WorkItem enum field |
enum:severity and enum:riskCategory are both enum base type columns but reference different enumeration definitions.
User Reference Type
User reference columns have special handling for Polarion user assignment fields. Read-only user columns display the user ID as a string. Editable user columns manage the work item’s assignees collection, supporting single-user assignment.| Property | Value |
|---|---|
| Type identifier | ref (with user field context) |
| Read-only display | User ID as string |
| Editable behavior | Clears all assignees, adds specified user |
| Assignment limit | Single-user assignment only |
Read-Only System Fields
Certain Polarion system fields are always read-only regardless of column configuration. Risksheet silently ignores save attempts to these protected fields.| System Field | Read-Only Reason |
|---|---|
id | Work item identity — cannot be changed |
status | Controlled by workflow transitions |
type | Work item type — immutable after creation |
project | Project assignment — immutable |
outlineNumber | Document structure — managed by Polarion |
author | Auto-set by configuration manager |
resolution | Auto-set by configuration manager |
created | Timestamp — auto-set at creation |
updated | Timestamp — auto-set on modification |
- The
formulaproperty is set (calculated columns) - The
serverRenderproperty is set (server-rendered columns) - The column references a cross-project item (reference columns)
- User permissions deny modification of the bound field
OData Type Mapping Reference
The complete mapping between Risksheet column type identifiers and OData EDM primitive types for API access:| Risksheet Type | OData EDM Type | Notes |
|---|---|---|
text | Edm.String | Default for unrecognized types |
string | Edm.String | Alias for text |
multiEnum | Edm.String | Colon-separated IDs in string |
rating | Edm.Int32 | 32-bit integer for risk scales |
int | Edm.Int64 | 64-bit integer for general numbers |
float | Edm.Double | Double precision floating-point |
boolean | Edm.Boolean | True/false |
currency | Edm.Decimal | BigDecimal for financial precision |
date | Edm.Date | Date only, no time component |
datetime | Edm.DateTimeOffset | Full timestamp with timezone |
time | Edm.DateTimeOffset | Time only, but mapped as DateTimeOffset |
duration | Edm.String | String-encoded despite being time-based |
Complete Example
A completerisksheet.json column configuration demonstrating multiple data types in a realistic FMEA scenario:
Related Pages
- Column Type Reference — column definition properties and configuration
- Enum Columns — enum and rating enumeration configuration
- Multi-Enum Columns — multi-select enumeration setup
- Calculated Columns — formula-based calculated columns
- Date and Time Columns — temporal column configuration details
- User Reference Columns — user assignment columns
- OData API Endpoints — consuming data types via API
- Field Mapping — Polarion field to Risksheet column binding
- Supported Field Types — Polarion field type compatibility
- Configuration Properties Index — full property reference
Sources
Sources
KB Articles
- Multiple Downstream Work Item Types
- Enable editing of read-only up-stream columns
- Configure downstream traceability columns tasks risk control measures
PolarionAppConfigManager.javarisksheet.jsonColumnTypeManager.javaAppConfigHelper.tsGetSetUtil.java