Why is the sub-task not created?

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

This widget could not be displayed.
Andreas Knecht Community Champion Feb 01, 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.



Thank you very much, works perfect! smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

511 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you