Prerequisites
- Risksheet installed and configured in your Polarion project
- Access to the
risksheet.jsonconfiguration file (see Find Configuration Files) - A Polarion work item type defined for review records (e.g.,
reviewItem) - A link role configured in Polarion for review relationships (e.g.,
reviews)
How Work Item-Based Reviews Work
When you select the work item-based review strategy, each review creates a new Polarion work item of the configured type. The review work item is linked to the reviewed risk item via a configurable link role. Links preserve the revision of the reviewed item for auditability.Step 1: Configure the Review Manager
Add thereviews section to your risksheet.json with the required properties:
Required Properties
| Property | Description |
|---|---|
reviewManager | Must be "WorkItemBased" |
typeProperties.linkTypes | The Polarion work item type ID for review work items |
typeProperties.linkRole | The link role name connecting reviews to reviewed items |
Optional Properties
| Property | Description | Default |
|---|---|---|
typeProperties.query | Custom query expression to filter retrieved reviews | None (show all) |
typeProperties.document | Target document path for storing review work items | Same document |
typeProperties.project | Target project ID for storing review work items | Same project |
typeProperties.itemTemplate | Custom HTML template for review display | Default format |
Step 2: Configure Cross-Project Storage (Optional)
To store reviews in a dedicated document or different project, add the optional properties:document is specified, new review work items are automatically positioned after the last existing review item of the same type in that document, maintaining chronological ordering.
Step 3: Customize Review Display (Optional)
By default, each review in the Reviews column shows:- Work item ID as a clickable hyperlink to the review work item
- Author name (bold)
- Creation date in
yyyy-MM-dd HH:mmformat - Title (if different from description)
- Description rendered as HTML
itemTemplate property:
Test custom item templates in a development environment before deploying. The template supports HTML with dynamic placeholders resolved at render time.
risk_reviews CSS class, enabling additional styling through cell styles.
Step 4: Toggle Review Columns and Create Reviews
- Open the Risksheet in your Polarion LiveDoc
- Toggle review columns visible using the toolbar
- Locate the risk item you want to review
- Enter a review title and text in the Add Review column
- The system creates a new work item of the configured type, links it to the risk item, and displays it in the Reviews column
When to Use Work Item-Based Reviews
| Advantage | Limitation |
|---|---|
| Full traceability via Polarion work items | Requires additional work item type and link role setup |
| Reviews queryable and reportable independently | More complex configuration than comment-based |
| Supports cross-project review storage | Each review creates a work item (volume consideration) |
| Custom display templates available | Requires Polarion admin to configure types and roles |
| Bidirectional links with revision tracking |
Troubleshooting
| Issue | Error Message | Solution |
|---|---|---|
| Missing type properties | ”TypeProperties for WorkItemBased reviews not set” | Add typeProperties section with linkTypes and linkRole |
| Missing link types | ”LinkTypes for WorkItemBased reviews not set” | Set typeProperties.linkTypes to a valid work item type ID |
| Missing link role | ”linkRole for WorkItemBased reviews not set” | Set typeProperties.linkRole to a valid link role name |
| Reviews not appearing | N/A | Check the query filter or verify document/project scope matches the review location |
Verification
After completing configuration, you should now see:- Review toggle available in the Risksheet toolbar
- New reviews create separate work items in Polarion of the configured type
- Bidirectional links between reviewed risk items and review work items
- Review work items visible both in the Risksheet Reviews column and in Polarion’s work item views
- If cross-project storage is configured, review work items appear in the target project/document
See Also
- Set Up Review Process — overview of all review strategies
- Configure Comment-Based Reviews — lightweight reviews using Polarion comments
- Configure Approval-Based Reviews — formal approval comments
- Manage Cross-Project Reviews — reviews spanning multiple Polarion projects
- Configure Cross-Project Linking — general cross-project linking setup
Sources
Sources
KB ArticlesSupport TicketsSource Code
WorkItemBasedReview.javaIReview.javaAppConfig.tsSystemConsts.javaCommentBasedReview.java