Hello All,
I created a rule, when an issue is created, then several subtasks are automatically added to the issue. I did this in Jira Project Settings > Automation > create rule.
Now I want to differentiate between stories and bugs. E.g. I want to add 8 subtasks to stories, but only 5 subtasks to bugs. But I don't find this in the rule builder. So I need rules that say, "when story is created, then create subtasks" and "when bug is created, then create subtasks".
I'm grateful for any hints. 
Petra