Prerequisites
- Polarion administrator access to set system properties
- An existing Risksheet document to branch from
- Familiarity with Polarion document branching
Step 1: Enable Branching Support
Set the Polarion system property to activate branching features. Navigate to Administration > Configuration Properties and add:Step 2: Branch a Document
- Open the source LiveDoc containing your risk analysis in Polarion.
- Use Polarion’s standard branching mechanism to create a branch of the document.
- Open the branched document in Risksheet.
Step 3: Enable Editing of Referenced Work Items (Optional)
If you need users to edit referenced items in branched documents without overwriting them, add theeditableReferencedWorkItems property to your risksheet.json:
The
editableReferencedWorkItems property allows direct editing of referenced work items in branched documents. Verify the exact behavior in your Risksheet version, as this may affect how changes propagate to the source document.Step 4: Overwrite Referenced Items
To create a local copy of a referenced risk item in your branched document:- Right-click the referenced row in the Risksheet grid.
- Select Overwrite Row Item from the context menu.
- The item changes from reference mode to overwrite mode, becoming fully editable.
Step 5: Handle Document Queries
When branching support is enabled, Risksheet automatically adjusts its data queries to use thedocument.id parameter. This ensures that only work items belonging to the current branched document are displayed.
Variant Management with Branches
For projects that need release-based filtering across branches, Risksheet supports theassignedReleases document custom field to filter downstream items by release version. This is useful in variant projects where you maintain separate branches per product release.
| Capability | Status |
|---|---|
| Branch a document and view referenced items | Supported |
| Overwrite referenced items to create local copies | Supported |
Edit referenced items without overwriting (editableReferencedWorkItems) | Supported |
Filter by release using assignedReleases field | Supported (one release per document) |
| Multi-release document filtering | Not yet supported |
| Reference risks across non-branched sheets | Not yet supported |
refreshOnSave Interaction
When using branched documents withrefreshOnSave set to false, be aware of two behaviors:
- A “Discard changes” popup may appear when navigating away, even though changes were saved successfully. This is a known side effect of the non-refresh mode.
- The overwrite context menu option requires
refreshOnSaveto be enabled (the default). If you have disabled it, the overwrite option will not appear.
Known Limitations
| Limitation | Description |
|---|---|
| Cross-sheet referencing | Referencing risks from other non-branched Risksheet documents is not supported |
| Link preservation | Overwriting upstream items removes all links except “is branched from” |
| Multi-release filtering | Documents assigned to multiple releases cannot be filtered per-release |
| Workaround for multi-release | Separate design and risk items into different LiveDocs |
Verification
You should now see referenced items from the source document displayed in read-only mode when you open a branched Risksheet document. Verify that:- Referenced items appear with read-only styling in the grid
- Right-clicking a referenced item shows the Overwrite Row Item option
- Overwriting an item converts it to an editable local copy
- The “is branched from” link is preserved after overwriting
See Also
- Configure Variant Management — manage product variants with branched documents
- Configure Upstream Traceability Columns — set up traceability in risk tables
- Configure Cross-Project Linking — link work items across projects
- Troubleshoot Administration Issues — resolve common configuration issues
Sources
Sources
KB Articles
- Enable support for Polarion branched documents-referenced work items
- Risksheet Configuration Properties
RisksheetProjectProperties.javaAppConfig.tsAppConfigParser.tsWorkItemBasedReview.java