The userRole property controls which users appear in the dropdown selector for editable user reference columns. This property specifies a Polarion role to filter the available user list.
Property
Type
Default
Description
userRole
string
See application
Specifies the Polarion role to filter available users. The value project_assignable fetches users who have the assignable role in the current project context.
When mitigation tasks reside in a different project than the Risksheet document, the userRole: 'project_assignable' property fetches users from the Risksheet’s project context, not from the task’s project. This means the dropdown may not include users who are assignable only in the task’s project.Workaround: Use a global Polarion role where the needed persons are added, rather than relying on project-specific roles. Global roles are visible across all projects.
Dependent enum support (available in version 25.3.1 and later) may enable project-dependent user lists in the future, allowing the dropdown to respect the task’s project context.
When a user selects a value from the dropdown in an editable user reference column, the following sequence occurs:
All existing assignees on the work item are cleared
The selected user is added as the sole assignee
The change is saved to the Polarion work item
Editable user reference columns currently support single-user assignment only. Selecting a new user always replaces all existing assignees. If the work item previously had multiple assignees (set from Polarion’s native interface), all but the newly selected user are removed.
User reference fields in PDF export display user IDs rather than display names. This is an inconsistency with regular enum fields, which export with human-readable titles.
Field Type
PDF Export Display
Regular enum
Display name / title
Rating enum
Numeric ID
User reference / assignee
User ID
Use Saved Views as an alternative export option when you need user names displayed consistently in PDF export sections. Saved views provide more control over which columns appear and how they are formatted in exports.
Risksheet handles user reference fields through a dynamic type conversion system:
Direction
Conversion
Polarion to Grid (read)
Reads user ID from work item field. For read-only columns, returns the ID as a string. For editable columns, provides the ID to the dropdown selector.
Grid to Polarion (write)
Clears the work item’s assignees collection, then adds the selected user. Only executes for non-read-only columns and non-system fields.
The type conversion system supports displaying any Polarion field as a user reference column, though the primary use case is the assignee field binding.