Prerequisites
- Polarion administrator access (to create configuration properties)
- A custom field of type Text (multi-line plain text) already configured on the target work item type (see Work Items Checklist)
- Checklist installed and licensed (see Installation)
Create the Template Work Item
A checklist template is simply a work item whose checklist field contains the items you want to reuse. There is no special “template” object — any work item can serve as a template source.- Create a new work item in your project (or in a dedicated templates project). The work item type does not need to match the target type.
- Open the checklist field on that work item and add the items you want in the template. For each item, set:
- The label (display text)
- The mandatory flag if the item should be required for workflow validation
- An optional description for additional guidance
- Save the work item and note its work item ID (for example,
TPL-1).
Configure the Template Property
Navigate to Administration > Configuration Properties and create a property that points to your template work item. The property follows the Configuration Property Hierarchy pattern:_TYPEID with the work item type ID (or omit for all types) and _FIELDID with the custom field ID (or omit for all fields).
Examples for a “dod” (Definition of Done) checklist on user stories:
| Property | Scope |
|---|---|
nextedy.checklist.userstory.dod.workItemTemplateId = TPL-1 | Only dod field on userstory items |
nextedy.checklist.dod.workItemTemplateId = TPL-1 | The dod field on all work item types |
nextedy.checklist.userstory.workItemTemplateId = TPL-1 | All checklist fields on userstory items |
nextedy.checklist.workItemTemplateId = TPL-1 | All checklists everywhere |
Cross-Project Templates
To reference a template work item from a different project, use theprojectId:workItemId format:
TPL-42 in the shared-templates project. Cross-project references are useful when multiple projects share the same compliance checklists.
Document Templates
For document-level (LiveDoc) checklists, use the document template properties instead:documentTemplateHolder to specify a custom field that holds the document location at runtime.
Dynamic Template Selection
If different work items of the same type need different templates, use a template holder field:templateRef custom field at runtime and use its value as the template work item ID. Each requirement can point to a different template by setting a different value in templateRef.
The holder field takes priority over the static workItemTemplateId. If the holder field is empty, the static ID serves as a fallback.
Control Template Merging
By default, templates merge continuously — every time the checklist is loaded, new template items are added. To stop merging after a work item is resolved:Verify the Configuration
After setting the template property:- Open a work item that matches the configured type and field.
- You should see the template items populated in the checklist field.
- The items should display the labels, mandatory flags, and descriptions from the template work item.
- Try adding a local item — it should appear alongside the template items.
- Modify the template work item and reload the target — the change should propagate.
- The
workItemTemplateIdproperty value matches the template work item ID exactly - The custom field ID in the property matches the field on the work item form
- The work item type ID in the property matches the target work item’s type
See Also
- Template System — Conceptual overview of how template merging, inheritance, and dynamic selection work across all object types
- Configuration Property Hierarchy — Understanding the four-level property resolution order from global defaults to type+field-specific overrides
- Multiple Templates per Type — Assigning different checklist templates to different work item types using type-specific configuration properties
- Workflow Gates and Validation — Enforcing checklist completion before workflow transitions using conditions and functions
- Freezing Checklists by Status — Stopping template merging at specific workflow statuses to preserve checklist state for compliance and auditing
Sources
Sources
KB Articles
- How to create checklist template?
- Multiple templates per one work item/document type
- How to control who can change the list and when?
ChecklistService.javaChecklistSetupService.javaChecklistResetToTemplate.javaChecklistFormExtension.javachecklist-form.vm