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

1 vote
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.

Cheers,

  Andreas

Thank you very much, works perfect! smile

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

108 views 0 2
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