Use case: Activate "Include subtasks" by default

The option "Include subtasks" in the parent ticket is switched off by default. The "Include subtasks" option should be activated by default for every new issue.

image-20240710-091143.png

Every issue that has the "Include subtasks" activated contains an issue property with the key "de.scolution.jira.moco-plugin.aggregate.time.tracking" with the value:

{ "isChecked": true }

This means that an Automation can be created that sets this issue property for each newly created issue to activate "Include subtasks".

Here is an example:

image-20240710-091605.png
  1. Trigger: Issue is created

  2. Action: Set entity property

    1. Entity type: Issue

    2. Property key: de.scolution.jira.moco-plugin.aggregate.time.tracking

    3. Property value:

      { "isChecked": true }

With his automation, the "Include subtasks" option will be activated by default for every new issue.