This page has thin source coverage. Some behaviors described below should be verified in your Powersheet installation.
Mapping Overview
Core Mapping Properties
| Name | Type | Default | Description |
|---|---|---|---|
polarionType | string or array | Entity type name | Maps the domain model entity type to one or more Polarion work item types. When omitted, the entity type name is used as the Polarion type. |
polarionProto | string | IWorkItem | Specifies the Polarion prototype (object type) this entity maps to. Determines which Polarion object types this entity can represent. |
Single Type Mapping
The most common pattern maps one entity type to one Polarion work item type:Multi-Type Mapping
A single entity type can map to multiple Polarion work item types by providing an array:Requirement entity type to represent work items of both sys_req and des_req types. Queries for this entity type will include both types.
Built-in Entity Types
Powersheet includes built-in entity types that map to Polarion objects other than work items:| Entity Type | Polarion Object | Notes |
|---|---|---|
Document | Polarion module | Container for work items. Not a work item itself. |
Chapter | Polarion heading | Document structure element for headings. |
Project | Polarion project | Project-level metadata. |
polarionType and have specialized property handling.
Mapping Validation Rules
RTM Mapping Example
Example RTM entity types with their Polarion mappings:| Entity Type | polarionType | Polarion Work Item Type |
|---|---|---|
UserNeed | userNeed | User Need |
SystemRequirement | systemRequirement | System Requirement |
DesignRequirement | designOutput | Design Output |
Hazard | hazard | Hazard |
RiskControl | riskControl | Risk Control |
Domain Model Schema Support
Powersheet provides a JSON schema for validating domain model configuration files. The schema includes:- Enumeration of valid Polarion prototype names for the
polarionProtoproperty - Support for both scalar and array formats for
polarionType - Validation of required fields via schema constraints
Schema validation is available for IDE support and autocomplete when editing domain model YAML files. Check your Powersheet version for schema file location.
Complete YAML Example
Related pages: Domain Model Types | Properties | Link Roles | Model YAML Structure
Sources
Sources
Source Code
DomainModelTypeV2.javatodosBig_model.yamlmodel.yamltodos_model.yamlsf_model.yaml