What you will achieve
By the end of this tutorial, you will have a working checklist on a Polarion work item. You will create a custom field, add the checklist form extension to the work item layout, configure a template so new work items receive a predefined checklist, and verify the setup by checking items on a live work item.Prerequisites
- Nextedy CHECKLIST plugin installed and active (see Installation)
- A Polarion project with administrator access
- Permission to create custom fields and edit form layouts
Setup overview
Step 1: Create a checklist custom field
Create a new custom field to store the checklist data on your work items.- Open your Polarion project and navigate to Administration > Custom Fields > Work Item Custom Fields
- Click Add to create a new field
- Set the following values:
| Field Property | Value |
|---|---|
| ID | dod |
| Name | Definition of Done |
| Type | Text (multi-line plain text) |
- Save the custom field
dod field listed in the Work Item Custom Fields table.
Step 2: Add the checklist form extension to the work item layout
Add the Checklist form extension to your work item form so users can see and interact with the checklist.- Navigate to Administration > Work Items > Form Layout
- Select the work item type you want to configure (for example,
TaskorRequirement) - In the form layout editor, add a new extension element
- Configure the extension with the ID
ChecklistFormExtensionand set thechecklistIdattribute to match your custom field ID:
- Save the form layout
Step 3: Configure a checklist template
Set up a template so that new work items automatically receive a predefined checklist. The template is defined by pointing to a specific work item that holds the master checklist.- Create a new work item in your project to serve as the template source (for example, a work item titled “DoD Template”)
- Open this template work item and add checklist items to the
dodfield — these are the items that every work item of the configured type will inherit - Note the work item ID of the template (for example,
PROJ-42) - Navigate to Administration > Configuration Properties
- Add the following configuration property:
dod checklist field for all work item types in the project.
You can scope the template to a specific work item type using the 4-level hierarchy. For example, to apply the template only to The property resolution order from most specific to least specific is:
task type work items:nextedy.checklist.<typeId>.<fieldId>.workItemTemplateId— type + field specificnextedy.checklist.<fieldId>.workItemTemplateId— field specificnextedy.checklist.<typeId>.workItemTemplateId— type specificnextedy.checklist.workItemTemplateId— global default
Step 4: Verify the checklist on a work item
- Open an existing work item of the configured type, or create a new one
- Scroll to the checklist section in the form
- Click a checklist item to change its result state — toggle through OK, NOK, N/A, or mark it as Pending
- Save the work item
| Result State | Meaning |
|---|---|
| OK | Item verified and passed |
| NOK | Item verified and failed |
| N/A | Item not applicable to this work item |
| Pending | Item deferred for later review |
| Empty | Item not yet addressed |
Next steps
Your work item checklist is now operational. Continue with these topics to extend your setup:- Document Checklist — set up checklists on LiveDocs
- Test Run Checklist — attach checklists to test runs
- Creating and Managing Templates — advanced template management and multiple templates per type
- Workflow Gates and Validation — enforce checklist completion at workflow transitions
- Configuration Properties — full reference of all
nextedy.checklist.*properties
Sources
Sources
KB Articles
- How to create checklist template?
- Checklist configuration properties
- Checklist workflow functions and conditions
ChecklistService.javaChecklistAllChecked.javaChecklistMandatoryChecked.javaChecklistSettings.javaChecklistFailIfMandatoryUnchecked.java