Quick Diagnostic Decision Tree
Step 1: Verify RTM Query Returns Data
PowerSheet YAML configurations define asource query that fetches the root entity set. If this query returns zero work items, the PowerSheet displays an empty grid.
Check the query definition:
| Problem | Symptom | Fix |
|---|---|---|
| Wrong entity type | ”No data” message | Verify type: matches RTM model entity name exactly (case-sensitive) |
| Document scope constraint missing | Shows items from all documents | Add module.moduleFolder:${moduleFolder} for document-embedded sheets |
| Project ID mismatch | Empty grid in cross-project context | Check ${projectId} resolves correctly; test query in Polarion Work Items search |
| No work items exist | Legitimately empty | Create sample work items of the specified type to test configuration |
Step 2: Fix Column Binding and YAML Syntax Errors
PowerSheet columns bind to Polarion custom fields or standard properties. Incorrect field IDs, typos, or YAML indentation errors cause columns to disappear or display as blank. Check column configuration syntax:- Field ID mismatch: Custom field
designReqSubtypemust exist in.polarion/documents/fields/custom-fields.xml - Typo in standard property: Use
objectId,title,description,status(exact casing) - Missing renderer definition: If
renderer: scCcRendereris specified, the JavaScript function must be defined in the PowerSheet YAML or globally - YAML indentation: Ensure
columns:is indented undercolumnGroups:and each column is a list item (-)
Step 3: Troubleshoot RTM Expansion for Linked Entities
PowerSheet’s RTM expansion feature displays related work items by traversing link roles. If expanded columns show no data despite links existing, the expansion path is misconfigured. Check RTM expansion syntax:| Issue | Symptom | Solution |
|---|---|---|
| Wrong link role name | Expanded section blank | Verify link role in .polarion/nextedy/models/*.yaml RTM model |
| Entity name mismatch | No data in expanded columns | Ensure entity: matches RTM model entity type (e.g., testCase not TestCase) |
| Incorrect column ID prefix | Column displays “undefined” | Prefix expanded fields with entity name: testCase.title not title |
| Link direction reversed | Shows nothing | Check if link role is outgoing (correct) or incoming (use opposite role) |
Step 4: Debug Custom Renderers and Formatters
PowerSheet supports JavaScriptrenderer and format functions for custom cell styling (e.g., SC/CC badges, Action Priority color-coding). Errors in these functions break column rendering.
Check renderer definitions:
- Undefined renderer: Column specifies
renderer: myRendererbut norenderers:section exists - JavaScript syntax error: Missing semicolons, unmatched quotes, or parentheses break the function
- Null value handling: Renderer doesn’t handle
nullorundefinedvalues, causing exceptions - Return type mismatch: Renderer must return HTML string or plain text, not objects
Step 5: Optimize Query Scope for Large Datasets
PowerSheets with unbounded RTM queries (e.g., all requirements across all projects) can time out or freeze the browser when loading 500+ work items or deep expansion hierarchies. Add query constraints:- Document scoping: Add
module.moduleFolder:${moduleFolder}for document-embedded PowerSheets - Limit expansion depth: Avoid multi-level RTM expansions (e.g., Requirement → Test → Defect → Comment)
- Use views to hide columns: Define named views that show only essential columns for different workflows
- Add query filters: Use
AND status:(active OR review)to exclude obsolete/deprecated work items
- RTM expansions creating Cartesian products (1 requirement × 10 tests × 5 defects = 50 rows per requirement)
- Custom renderers making external API calls (avoid fetch/AJAX in renderers)
- Large rich-text description fields (use
limiton description column width)
Step 6: Verify Work Item Permissions
PowerSheet queries respect Polarion’s work item permissions. If users lack read access to the queried work item types or linked entities, the PowerSheet displays “Access denied” or omits restricted rows. Check user permissions:- Navigate to Administration → Users and Groups → Permissions
- Verify the user role has Read permission for:
- Root entity type (e.g.,
SystemRequirement) - Expanded entity types (e.g.,
VerificationTestCase) - Custom fields used in columns (some orgs restrict field-level access)
- Root entity type (e.g.,
- Test with an admin account to rule out permission issues
| Scenario | Symptom | Fix |
|---|---|---|
| External reviewer role | PowerSheet loads but shows 0 rows | Grant “Work Items - Read” permission for the relevant project |
| Field-level restrictions | Some columns blank, others populated | Check custom field permissions in field definition XML |
| Cross-project RTM | Expanded links empty | User needs read access to the linked project, not just source project |
Final Verification
After applying fixes, confirm the PowerSheet works correctly: ✅ Grid loads with expected rows (matching source query result count)✅ All column headers appear with correct labels and widths
✅ RTM expanded sections show linked data (if applicable)
✅ Custom renderers display styled cells (SC/CC badges, color-coding)
✅ No JavaScript errors in browser console (F12 → Console tab)
✅ Performance acceptable (loads in <5s for typical datasets)
See Also
- PowerSheet Configurations — Full reference for all 13 TestAuto2 PowerSheet YAMLs
- RTM Model Configuration — Understanding entity types, link roles, and expansion paths
- Customize PowerSheet Columns — How-to guide for adding/editing columns
- Traceability Link Errors — Troubleshoot link role mismatches and broken relationships
- Performance Issues — Optimize slow-loading PowerSheets and large datasets