Risksheet exposes an OData-compatible data service layer for programmatic access to grid data, linked work items, and CRUD operations on risk items within Polarion documents.
Retrieves all work items displayed in the Risksheet grid for a specific document.
Parameter
Type
Default
Description
revision
string
""
Specific revision or baseline identifier. Empty string returns current/head revision.
You can query data from specific revisions or baselines by providing the revision parameter. When a revision is set, the grid automatically switches to read-only mode.
Risksheet column types map to OData EDM primitive types for data exchange:
Column Type
OData EDM Type
Notes
text
Edm.String
Default for unrecognized types
multiEnum
Edm.String
Colon-separated syntax for multiple values
rating
Edm.Int32
Integer-based risk rating values
int
Edm.Int64
64-bit integer values
float
Edm.Double
Double-precision floating point
boolean
Edm.Boolean
True/false values
currency
Edm.Decimal
Fixed-precision decimal values
date
Edm.Date
Date without time component
datetime
Edm.DateTimeOffset
Full date and time with timezone
time
Edm.DateTimeOffset
Time value stored as DateTimeOffset
duration
Edm.String
Duration stored as string despite being time-based
Column types can carry additional configuration after a colon separator (e.g., multiEnum:severity,priority). The system extracts only the prefix before the first colon for type mapping.
Creates new work items directly from the Risksheet grid.
Property
Type
Default
Description
id
string
Auto-generated
Items with IDs starting with * are treated as new items. The system maps temporary client-side IDs to permanent Polarion IDs after creation.
The creation workflow supports creating master risk items and linked downstream items in a single transaction. The system maintains three types of ID mappings during bulk operations:
taskIdMap — maps temporary task link IDs to permanent Polarion IDs
itemIdMap — maps temporary single item link IDs to permanent IDs
itemLinkIdMap — maps temporary multi-item link IDs by column ID
The OData service handles work items from different Polarion projects using IdProject format (project/itemId). The system automatically qualifies project-less IDs with the appropriate project identifier when operating across project boundaries.
All create, update, and delete operations are wrapped in transactions with begin/commit/rollback support. Failed operations trigger automatic rollback to prevent partial updates.
The transaction model ensures that bulk operations — such as creating a risk item with multiple linked mitigation tasks — either complete entirely or roll back completely. You do not need to manage transactions manually.
This configuration creates a grid with a text column mapped to Edm.String and a multi-item link column that supports creating new linked items, all accessible via the OData service endpoints.