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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

236 views 0 6
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