I have created the following steps:
- Set a trigger as a cron job (0 0 9 29 3,6,9,12 ?).
- Create a task in some project I specified.
- Create 5 subtasks of the task I created in the previous step.
Jira indicated that I had to specify a JQL for my trigger. I tried different options, including specifying the fields of the subtasks (which converts the subtasks creation to create an issue) and passing {{createdissue.key}}. This worked for the first subtask but gave an error for the rest. The error meant that the parent couldn't be a subtask. So, I tried to be "smart" and use {{createdissue.key - x}}, where x is 1, 2, 3, 4, but with no luck.
To cut short a long story: How can I get the JQL string that I should use in my case?
Thanks.