Automatically create sub-tasks on story create

I have created a rule to automatically create sub-tasks upon issue creation, but I don't see a way to execute the rule upon only story creation.  I tried adding the following JQL condition but its still executing the rule for all issue types.  How can I execute this for only stories? We have the same 4 sub-tasks for every story. 

issuetype = Story AND issuetype != Bug AND issuetype != Epic AND issuetype != Improvement AND issuetype != "New Feature" AND issuetype != Research AND issuetype != Spike AND issuetype != Sub-task AND issuetype != Task AND issuetype != Test

2 answers

I have query on similar lines, I need to create an automation task to create sub-tasks but they are different for different issue types

for e.g.  for Program Epic - we need 10 sub-tasks

for Stories, we need 5 sub-tasks.

Is there a way to built the trigger for a specific issue type rather than same rule for all Issue Types ?


On a similar note, you can add multiple "Related issue branches" for the "Current issue" to do different actions.

You'll end up with something like below:




For more information on this, see

0 vote

Hey there Rashad,

The condition you added should also work, but the recommended way is to match using the field compare condition. If you match on {{}} = "Story" it should do what you're trying to do. See the image below:




Mark C

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

110 views 0 3
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