Applying Checklist Conditions to Workflow Transitions

Checklist ships with conditions that can be used to enforce Checklist completion before a workflow transition. The condition is called Checklist Condition and can be customized. The Checklist condition forbids a transition instead of validating the transition. Hence, if the conditions are not met, the transition is simply not allowed and no error message is displayed (unlike a validator). 

To customize the Checklist condition, perform the following steps:

  1. As an admin user, navigate to Issues > Workflows, edit an existing workflow to locate the transitions, and click Conditions.
  2. Click Add condition.

    The system displays the Add Condition To Transition window. 

  3. Select the Checklist Condition option and click Add.

    Checklist

    Select the Checklist(s) to which the condition must be associated.

    Validation type

    Select if all the items are to be validated or only the mandatory ones. Select the type of validation that will be performed.

    • All items checked. If you want all the items to be checked.
    • All mandatory items checked. If you want all the mandatory items to be checked.
    • Number or percentage of items checked. If you want to validate against a number/percentage of the items that are checked. Use either round numbers (for example, 2) or percentage (for example, 25%) when validating the number of items.
    • Number of existing items. If you want to validate against a number of existing items. Use round numbers (for example, 2) when validating the number of existing items.
    • All items must have a status. If you want all items to have a status.
    • All mandatory items must have a status. If you want all the mandatory items to have a status.
    Validated items

    Select the type of item the validation must be done for:

    • All items
    • Only global items
  4. Click Add.
    When the condition is attached to a workflow transition, the condition prevents the transition when the Checklist conditions are not met.