Skip to main content
Skip table of contents

Apply Template to New Subtask

This rule adds a Checklist Template when new subtasks are created.

Limitations

If you are using Checklists for Jira ENTERPRISE , note that this rule cannot add Global Checklist to a subtask. Global Checklists are linked to work items via a checklist context.

Modifications

This example uses the Work item created trigger. You can modify the rule to use another trigger such as Work item transitioned. Do not use the generic Work item updated trigger because when the checklist template is added to the work item, a “Work item updated” event is sent by Jira which may make the automation rule run repeatedly.

Apply Template to new Subtask

  1. Ensure the Apply checklist templates via labels global setting is enabled.

  2. Note the name of the template you wish to apply, and ensure that the name does not include spaces.

  3. Navigate to Project Settings > Automation (or Jira Settings > System > Automation rules).

  4. Click Create rule.

  5. Select the Work item created trigger and click Next.

  6. Click Add component and select New condition.

  7. Select Work item fields condition.

  8. Use the dropdowns to select Work item Type, equals, and Sub-task.

  9. Click Next.

    One.png

  10. Click Add component and select New condition.

  11. Select Work item fields condition.

  12. Add conditions to ensure to the template is only applied to the intended subtasks, not all subtasks that are created. For instance, Summary, contains, Configuration.

  13. Click Next.

    Two.png

  14. Click Add component and select New action.

  15. Select Edit work item.

  16. Select Labels as the field to be edited, and enter the name of the template.

  17. Click Next.

    Three.png

  18. Name the rule and click Turn it on.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.