Add Comment-Based Review Configuration
Open yourrisksheet.json file and add the following to the root object:
reviewManager property.
How Comment-Based Reviews Work
- System creates a standard Polarion comment on the risk work item
- Comment includes optional title and plain text content
- Author and timestamp are captured automatically
- RISKSHEET retrieves and displays comments in chronological order
Review Display Format
Comment-Based reviews appear in RISKSHEET with this structure:- Author name in bold (falls back to user ID if name unavailable)
- Timestamp in
yyyy-MM-dd HH:mmformat - Title (optional) displayed in bold
- Comment text rendered as HTML
<span class="risk_reviews"> element, allowing custom CSS styling.
RISKSHEET attempts to display the reviewer’s full name from their Polarion user profile. If the name field is empty or the user account is unresolvable, the system falls back to showing the user ID instead.
Add Reviews Through RISKSHEET
Users can create reviews directly from the grid interface:- Right-click the risk item row
- Select Add Review from the context menu
- Enter an optional title in the first field
- Enter review content (plain text) in the text area
- Click Save
Review Filtering Behavior
Nextedy RISKSHEET automatically filters out:- Resolved comments — Comments marked as resolved in Polarion won’t appear in review lists
- Unresolvable comments — Comments with data integrity issues are excluded
Customize Review Styling
Target therisk_reviews CSS class to customize review appearance:
risksheet.json configuration to apply custom visual styling to review entries.
Permissions and Access Control
Comment-Based reviews inherit Polarion’s standard comment permissions:- Users need comment creation permissions on the work item to add reviews
- Users with read access to the work item can view all non-resolved reviews
- Comment editing and deletion follow Polarion’s permission model
Verification
After configuring Comment-Based reviews:- Reload your RISKSHEET widget
- Right-click any risk item
- Verify “Add Review” appears in the context menu
- Create a test review with title “Test Review” and content “Verification test”
- Check that the review appears in the review column
- Navigate to the work item in Polarion and verify the comment exists
See Also
- Set Up Review Process — Overview of all review strategies
- Configure Approval-Based Reviews — Formal approval workflow option
- Configure Work Item-Based Reviews — Structured review tracking
- Review Workflows — Conceptual background on review approaches
- User Roles and Permissions — Understanding access control
Sources
Sources
KB ArticlesSource Code
IReview.javaCommentBasedReview.javaAppConfig.tsWorkItemBasedReview.javaApprovalBasedReview.java