This page covers document creation issues identified from source code analysis. Some scenarios may vary depending on your specific Polarion and Risksheet version.
Symptoms
- The “Document NOT created” pop-up message appears after attempting to create a new document
- The creation wizard fails silently without producing a document
- Error message “You do not have permissions to create new items.” appears
- Workflow status change fails with “There are unsaved changes. Please save the document first.”
Check Folder Selection
The document creation wizard requires a non-empty folder selection. If you receive an error:- Open the Risksheet home page (document selection interface)
- Select a valid folder from the available folder list
- Enter a document name
- Select a template
- Click Create
Check Permissions
If you see the error “You do not have permissions to create new items.”:- Verify your Polarion user account has create permissions for work items in the target project
- Check that you have write access to the folder where the document will be created
- Confirm your Risksheet license is active and not in reviewer/read-only mode
| Permission Level | Can Create Documents | Can Edit |
|---|---|---|
| Full license + project write access | Yes | Yes |
| Reviewer license | No | No (read-only) |
| No license + project access | No | No (read-only) |
nextedy.risksheet.disable_admin_check=true in the Polarion configuration properties, but this should only be used for troubleshooting purposes.
Check Template Configuration
The template selection affects the initial document structure. If a document is created but appears empty or misconfigured:- Verify the selected template exists and contains a valid
risksheet.jsonattachment - Check that the template path is configured in the project Risksheet settings
- Confirm you have read access to the project containing the template
Risks/Risk Specification. Multiple paths can be comma-separated to allow document creation in several locations.
Fix: Template Installation Issues
If no templates are available in the creation wizard:- Navigate to the Risksheet administration page
- Run the template installation via the Setup function (POST
/admin/setupendpoint) - Verify the templates appear in the template list after installation
Fix: Workflow Status Change After Creation
If you encounter “There are unsaved changes. Please save the document first.” when trying to change document status after creation:- Save all pending changes in the Risksheet grid
- Verify no cells show dirty state indicators
- Retry the workflow status change
Verification
After resolving the issue:- Navigate to the Risksheet home page
- Select a folder, enter a document name, and choose a template
- Click Create and confirm the document is created successfully
- Open the new document and verify the Risksheet grid loads with the template configuration
See Also
- Access Denied Errors — permission and authentication issues
- License Validation Errors — license-related failures
- Permission-Based Field Restrictions — field-level access control
Sources
Sources
KB ArticlesSource Code
RisksheetViewServlet.javaWorkflowActionServlet.javaExportToPdf.tsNewBaselineCommand.tsStatusChangeCommand.ts