How to create child issues for existing EPICs in JIRA using automation rule?

Saili April 11, 2024

I had created an Automation rule, when triggered, a new child issue gets created:

2024-04-11_15h10_56.png
This is working fine.
But I now want to create child issues for EPICs that are already there in the project using Automation. Is there any possibility of making this happen?
Please let me know
Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2024

Hi @Saili,

If you create a rule with a scheduled trigger, you can add a JQL filter to the trigger. If you want to get a list of all epics in your project, that could be:

Project = "Your Project" AND issuetype = Epic

 adjust the JQL so you get just the list of epics you want to add issues to.

Then, if you add a create issue action to that trigger, it will be executed against every single issue retrieved by your filter. 

Hope this helps!

Saili April 11, 2024

Hello @Walter Buggenhout 
Thanks for the response
I just had one doubt:
Do I need to add 'for each' condition after the schedule trigger or not?

Thanks!

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2024

Hi @Saili ,

No, not if you use a scheduled trigger with a JQL filter directly included in that trigger. This makes the following actions automatically apply to all issues returned by the filter.

Saili April 11, 2024

Thank You so Much @Walter Buggenhout 
It worked

Like Walter Buggenhout likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events