Why is the sub-task not created?

Christian Axén January 31, 2017

I have a recurring monthly task that need sub-tasks. These sub-tasks need to be created on parent issue creation.

The rule is as follows:

  1. When: Scheduled (cron)
  2. Then: Create a new (task)
  3. And: Create 2 sub-tasks

This does not work. Only the scheduled task is created. Am I missing something in the rule?

1 answer

1 accepted

1 vote
Answer accepted
andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2017

Hi Christian,

The problem is most likely that you added the 'Create sub-task' action directly after the 'Create issue action'.  

What you need is to add a 'Related issues' action after create and select 'Created issues', then add sub-tasks to those:

image2017-2-2 11:38:21.png

This may seem a bit weird, but the reason for this is that if the rule were triggered by an issue event (such as issue edited for example), then adding 'Create sub-tasks' on the top level should add sub-tasks to the issue that triggered the rule, not created issues.  That's why you need to branch for created issues using the 'related issues' action.

Cheers,

  Andreas

Christian Axén February 1, 2017

Thank you very much, works perfect! smile

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events