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.
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:
Trigger: Issue is created
Action: Set entity property
Entity type: Issue
Property key: de.scolution.jira.moco-plugin.aggregate.time.tracking
Property value:
{ "isChecked": true }
With his automation, the "Include subtasks" option will be activated by default for every new issue.