Importing via Template Application
The primary method for importing a checklist is through the template system. When you configure a template for a checklist field, Checklist automatically merges the template items into the work item’s checklist when it is opened.Step 1: Prepare a Template Work Item
Create a work item that contains the checklist items you want to import. Populate the checklist custom field with all the items, marking mandatory items and setting any default result states.Step 2: Configure the Template Property
Open Polarion Administration > Configuration Properties and add the appropriate property. For work item checklists:_TYPEID with the work item type (for example, requirement), _FIELDID with the checklist custom field ID, and TEMPLATE-WI-ID with the work item ID that holds the template.
For document checklists:
projectId:workItemId format:
Step 3: Open the Target Object
When you open a work item, document, test run, or plan that has the template configured, the checklist field automatically merges items from the template.Controlling Template Merge Behavior
Disable Merging at Specific Statuses
You can freeze the checklist at certain workflow statuses to prevent template items from being added after a gate:reviewed status:
Disable Merging After Resolution
To stop template merging once a work item has a resolution set:Importing via Workflow Function
You can trigger checklist template application during workflow transitions using theChecklistApplyTemplate workflow function. This approach ensures the checklist is populated at a specific point in the workflow.
Configure the Workflow Function
Add theChecklistApplyTemplate function to a workflow transition:
| Parameter | Value | Description |
|---|---|---|
checklist | Comma-separated field IDs | Checklist custom fields to apply templates to |
Multi-Field Application
Apply templates to multiple checklist fields in a single transition by specifying comma-separated field IDs:Importing via Reset to Template
If a checklist has been modified and you want to reimport the template (discarding local changes), use theChecklistResetToTemplate workflow function.
| Parameter | Value | Description |
|---|---|---|
checklist | Comma-separated field IDs | Checklist fields to reset |
skipForUsers | Comma-separated user IDs (optional) | Users who bypass the reset |
Dynamic Template Selection
For scenarios where the template varies per work item instance, use theworkItemTemplateHolder configuration property:
workItemTemplateHolder value takes priority over the static workItemTemplateId.
For documents, the equivalent property is:
Bulk Import Considerations
Enterprise customers creating documents from templates with multiple work items should be aware that checklist templates are not automatically embedded within document templates. Configure checklist template properties at the project or global level, or use theChecklistApplyTemplate workflow function to apply templates after document creation.
Verification
After configuring your import method:- Open a work item (or document, test run, plan) with the template configured
- You should now see the checklist populated with items from the referenced template
- If using a workflow function, trigger the configured transition and verify the checklist items appear
- Confirm that locally added items are preserved (for merge) or replaced (for reset)
See Also
- Creating and Managing Templates — template setup fundamentals
- Multiple Templates per Type — type-specific template configuration
- Freezing Checklists by Status — controlling merge behavior
- Workflow Gates and Validation — enforcing completion before transitions
Sources
Sources
KB Articles
- How to create checklist template?
- How to import a checklist?
- How to control who can change the list and when?
ChecklistService.javaChecklistSetupService.javaDocumentChecklistView.javaChecklistAdminServlet.javaChecklistAllChecked.java