Prerequisites
- A Polarion project with at least one baseline created
- A working powersheet document with configured data sources
- Understanding of Polarion baselines (project-level snapshots)
Step 1: Open a Document in Revision Mode via the UI
The simplest way to view historical data is through the Powersheet History menu:- Open the powersheet document in Polarion
- Navigate to the History menu group in the toolbar
- Select the desired baseline or revision number
- The document reloads with historical data
When viewing a document in revision mode, the sheet is automatically set to read-only. You cannot edit work items while viewing historical data.
Step 2: Open a Revision via URL Parameter
You can link directly to a specific revision by appending therevision parameter to the Powersheet URL:
| Parameter | Value | Description |
|---|---|---|
revision | Integer >= 0 | Specific revision number to view |
| (omitted) | — | Shows latest (HEAD) data |
Step 3: Return to Current Data
To exit revision mode and return to the live document:- Open the History menu
- Select Close Revision (or the equivalent option to return to HEAD)
- The document reloads with current data and editing is re-enabled
revision parameter from the URL and reload.
Step 4: Create a Baseline in Polarion
Baselines are created in Polarion, not in Powersheet. Each baseline captures a project-wide snapshot that Powersheet can reference by revision number:- In Polarion, navigate to your project
- Go to Administration > Baselines (or the equivalent baseline management page)
- Create a new baseline
- Note the revision number assigned to the baseline
The exact steps for creating baselines may vary depending on your Polarion version and project configuration. Consult your Polarion administrator for project-specific baseline procedures.
How Revision Queries Work
When you open a document with a revision parameter, the query engine executes all queries against the historical data snapshot rather than the current state. The revision can come from:- The
revisionURL query parameter (explicit user request) - A context baseline set by the Polarion project
Step 5: Inspect Revision in Document Title
When viewing a historical revision, the document title updates to include the revision number in parentheses. For example:- Current: “RTM Requirements Traceability”
- Revision 42: “RTM Requirements Traceability (Revision 42)”
Verify
After opening a document with a revision parameter:- You should now see the document title with the revision number appended
- The sheet should display data as it existed at that point in time
- All editing controls should be disabled (read-only mode)
- Closing the revision should return you to the current live data with editing re-enabled
See Also
- Filter by Document — scope queries to specific documents
- Filter by Project — scope queries to specific projects
- Write an Entity Query — query fundamentals
- Optimize Queries — performance tips for large datasets
Sources
Sources
Source Code
PolarionQueryProcessor.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/DocumentProvider/DocumentProvider.tsxpowersheet.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/e2e/userFlows/revision.cy.tsGenericQueryResolver.java