Skip to main content

Prerequisites

  • Risksheet installed and configured in your Polarion project
  • Access to the risksheet.json configuration file (see Find Configuration Files)
  • Users with comment creation permissions on the target work items

How Approval-Based Reviews Work

Approval-based reviews use Polarion’s approval comment system. Each review created through Risksheet is stored as a comment with the fixed title “Approval comment” on the underlying work item. The Reviews column filters to show only these approval-titled comments, separating formal approval feedback from regular discussion comments. diagram

Step 1: Enable Approval-Based Reviews

Open your risksheet.json and add the reviews section with reviewManager set to ApprovalBased:
{
  "reviews": {
    "reviewManager": "ApprovalBased"
  }
}
No additional properties are required. The approval-based strategy uses Polarion’s built-in approval comment mechanism.
Risksheet supports three mutually exclusive review strategies. If multiple modes are configured, CommentBased takes the highest precedence, followed by WorkItemBased, then ApprovalBased. Ensure you only configure one reviewManager value.

Step 2: Toggle Review Columns

After configuration, display the review columns in the grid:
  1. Open the Risksheet in your Polarion LiveDoc
  2. Use the review toggle command in the toolbar
  3. Two system columns appear:
    • Reviews column (reviewsRendered) — displays existing approval comments
    • Add Review column (reviewsAdd) — interface for creating new approval reviews

Step 3: Create an Approval Review

To add an approval on a risk item:
  1. Locate the risk item row in the grid
  2. Click the add review control in the Add Review column
  3. Enter your approval comment text
  4. Submit the review
The system creates a Polarion comment with the fixed title “Approval comment” and your text as plain text content. Validation rules are applied before creation.
Only comments titled “Approval comment” appear in the Reviews column. Regular Polarion comments added outside Risksheet are not shown. This separation lets you maintain general discussion comments alongside formal approval records on the same work item.

Step 4: View Approval Reviews

The Reviews column displays approval comments with the following details:
FieldDescription
Reviewer nameFull name from Polarion user profile (falls back to user ID if unavailable)
TimestampCreation date and time in yyyy-MM-dd HH:mm format
ContentApproval comment text rendered as HTML
The system automatically filters out:
  • Resolved comments — approval comments marked as resolved in Polarion
  • Unresolvable comments — comments that cannot be loaded
Reviews are wrapped with the risk_reviews CSS class for styling customization through cell styles.

Comparison with Other Review Modes

FeatureComment-BasedApproval-BasedWork Item-Based
Storage mechanismStandard commentApproval commentSeparate work item
Comment titleUser-defined (optional)Fixed: “Approval comment”N/A
FilteringAll non-resolved commentsOnly approval-titled commentsLinked work items by type
Content formatPlain textPlain textRich text (work item fields)
Queryable separatelyNoNoYes (via Polarion queries)
Approval-based reviews create approval comments on work items but do not trigger Polarion’s formal approval workflow state transitions (such as draft to reviewed to approved). For full workflow state management, use Polarion’s document or work item list views. Full approval workflow actions within Risksheet are planned for a future release.

When to Use Approval-Based Reviews

Approval-based reviews are suitable when:
  • You need to distinguish formal approval feedback from regular discussion comments
  • Your audit process requires a clear trail of approval actions
  • You want approvals visible in Polarion’s approval comment views
  • Full work item-based traceability is not required

Troubleshooting

IssueCauseSolution
No reviews appear despite comments on the work itemComments do not have the “Approval comment” titleOnly comments with the exact title “Approval comment” are displayed
Cannot add approvalInsufficient permissionsVerify the user has comment creation permissions on the work item
Reviewer name shows as user IDPolarion user profile missing full nameUpdate the reviewer’s name in Polarion user administration
Review columns not visibleToggle not activatedUse the toolbar toggle to show review columns

Verification

After completing configuration, you should now see:
  1. The review toggle available in the Risksheet toolbar
  2. Approval comments created through Risksheet appear with the “Approval comment” title in Polarion
  3. Only approval-titled comments display in the Reviews column — regular comments are filtered out
  4. Reviewer names, timestamps, and content render correctly

See Also

KB ArticlesSupport TicketsSource Code
  • AppConfig.ts
  • ApprovalBasedReview.java
  • IReview.java
  • risksheet.json
  • SystemConsts.java