Skip to main content

Prerequisites

  • A working Risksheet configuration with risk items displayed
  • Access to the sheet configuration file (see Find Configuration Files)
  • A target Polarion work item type for tasks (e.g., task, mitigationAction, countermeasure)
  • A link role in Polarion connecting risks to tasks (e.g., mitigates, controls)
1

Define the Task Data Type

Open the sheet configuration in the YAML editor and add a task entry under dataTypes. This tells Risksheet which work item type represents your downstream tasks, how they relate to risk items, and how they appear in the toolbar and zoom navigation.
Set name and zoomColumn so users get a clear menu label and a meaningful entry point after task creation.
2

Add Task Columns

Add columns to display task properties in the grid. The bindings property maps each column to a Polarion field on the task work item. Columns bound to task.* fields automatically participate in task-level cell merging — sibling tasks belonging to the same risk are grouped visually.
Task columns have no level property — they merge by parent risk item plus task ID instead of joining the risk-item visual hierarchy.
diagram
3

Scope Tasks to a Specific Document

Two related properties control where Risksheet looks for tasks and where new tasks are created.

Restrict task loading with document

Set document to a LiveDoc path to restrict which existing tasks Risksheet loads for the current risksheet. This is the recommended pattern when tasks are organized in a dedicated mitigation document.
With document set, only tasks residing in the specified LiveDoc are considered candidates — link traversal still applies, but the result is filtered to that document.

Control where new tasks are placed

By default, new tasks are created in the Polarion project tracker. Two properties influence the destination:
If you omit both createInCurrentDocument and createInDocument, all new downstream items go to the project tracker rather than a LiveDoc document. This is the most common misconfiguration reported by users. Note that chapter-level placement within a document is not supported — items are added at the document root level.
4

Configure Cross-Project Tasks

For tasks that reside in a different Polarion project, use the project property for a single target or projects for multiple. The projects array form requires v23.7.0 or later.
For multiple target projects:
Use project (singular) when all tasks belong to one target project. Use projects (plural array) when tasks may come from multiple projects. Mixing both is not supported. In clustered Polarion setups with separate servers, items cannot be linked across different server instances.
Prior to version 24.6.0, linking existing downstream items from another project required removing the task project column as a workaround. This issue was resolved in version 24.6.0.
5

Filter Tasks with a Custom Query

To further narrow which tasks appear in the grid — for example, to exclude rejected or obsolete items — add a Lucene query to the task data type:
The query is combined with the link-role lookup and the optional document scope to produce the final task set.
6

Disable Task Creation

Use canCreate at the data-type level to globally disable creating new tasks. When false, users can only link to existing items from a library:
This is useful when tasks are managed in a separate process and the risksheet should only reference them. Combine with column-level canCreate: false on individual task-link columns for finer control.
7

Manage Multi-Task Behavior

Risksheet supports multiple downstream tasks per risk item. When you add a task to an item that already has tasks:
  1. The current record is cloned with task-level fields cleared.
  2. A new unique task ID is generated automatically.
  3. The new row is inserted immediately after all sibling tasks (grouped by systemItemId).
Tasks belonging to the same parent risk are kept together in the grid and always sorted by local ID in ascending order (for example, TASK-1, TASK-2, TASK-10). Unresolvable work items (deleted or inaccessible) are silently filtered out.
As of version 25.9.0, when you create a new task within a group that already has tasks, values from sibling items are automatically inherited, reducing manual data entry.

Verification

After saving the sheet configuration:
  1. Open the Risksheet in the configured LiveDoc document.
  2. Right-click a risk item and select the option labeled by dataTypes.task.name (for example, Create Mitigation).
  3. Verify the new task row appears below the risk item with an auto-generated ID.
  4. Confirm the task lands in the correct location (current document, target document, or tracker).
  5. Check that the zoomColumn receives focus for immediate editing.
  6. If document is set, confirm only tasks from that LiveDoc load.

See Also

Last modified on July 10, 2026