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

Is it possible to create a rule to create subtasks for multiple stories that already exist?

Hussain Ali September 29, 2023

I have over multiple stories (over 20) in the backlog and I need to create subtasks for all of them. All subtasks will be the same and so will their descriptions. 

I have already created a rule where any NEW story that gets created will have these subtasks but I am not sure what type of "trigger" I can use to create subtasks for all these stories in the backlog that already exist. 

Trying to avoid spending time going into each story (that already exists) and creating 4 subtasks with their specific descriptions - 

Any ideas?

2 answers

2 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2023

Hello @Hussain Ali 

Do you have a list of the issues that need the subtasks? You could use a simple JQL with a comma separated list of those issues' keys:

issue in (ABC-1, ABC-2, ABC-3)

After you publish the rule there will be a Run Now button at the top. You can click that to run the rule once, then disable it.

Make sure you uncheck the box below the JQL field.

Screenshot 2023-09-29 at 1.27.02 PM.png

You can do the same thing with a manually triggered rule and and For Each/Related Issues/JQL branch.

Screenshot 2023-09-29 at 1.29.31 PM.png

Then you go to one issue in the project and trigger the rule manually. After it runs, disable the rule.

0 votes
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2023

You can choose as trigger the scheduled option then run the rule based on a JQL

Hussain Ali September 29, 2023

Thanks Mohamed! Would you have happen to have an example? I have never used this method before and I am no JQL expert either

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events