Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I create different subtasks in different issues?

Petra Meier-Liepe February 29, 2024

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

PetraUnbenannt.JPG

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Hi Petra,

Is this a Team-managed project? 

After you create the Story, add a Branch for Most recently created issue. Then put the sub-tasks under there. 

Then add another Branch for Bug and do that same thing with those sub-tasks. 

Petra Meier-Liepe February 29, 2024

Hi John,  yes, thank you!

I don't work that often with Jira. Therefore I don't know, what you mean. 

Should I create a rule "When: issue created" and add a branch with {{issue.story}} and add subtasks, then?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Sorry assumed too much  :-)  Yes, start with an Issue Created trigger. 

Then add any Conditions so that it only does it for certain issues - what would that be? 

You can send that to me here, but you can continue to build while waiting for me. 

Next you add the Branch as above and then keep going with my recommendations above. 

Do that and send me a screenshot of your rule that you have to that point. 

 

Petra Meier-Liepe February 29, 2024

O.k., thank you so much, John.

I'll try it tomorrow. Unfortunately I have no more time today. 

Like John Funk likes this
Petra Meier-Liepe March 1, 2024

I created 2 rules now, one for story and another one for bug. This is better for me. :)

Thank you, John!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events