Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira automation for Epic Creation including Child-Tasks

Marc-Anton Weigelt December 11, 2023

Hello,

I am struggling with the creation of Jira automation rule:


Trigger: Scheduled date/time

Action: Create Epic
Action: Create Task and link to parent


How do I find / define within the automation rule the parent (name/key/id?) so that I can use it later down the road for linking tasks to it which get created in the same rule?

Preferably without the workaround over branching to get a trigger issue.

Regards,
Marc

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
December 11, 2023

Hello @Marc-Anton Weigelt 

Welcome to the Atlassian community.

After the step where you create the Epic, use the Create Variable action to record the issue key of the new Epic.

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Create-variable

Screenshot 2023-12-11 at 9.19.25 AM.png

Then use that variable to set the Parent field in the child story.

Screenshot 2023-12-11 at 9.22.04 AM.png

Marc-Anton Weigelt December 12, 2023

Thank you, that worked for me perfectly!

Like Trudy Claspill likes this
Rachana Kandlagunta
Contributor
February 4, 2024

Hi can I use the same variable set for multiple stories? @Trudy Claspill thank you 

Trudy Claspill
Community Champion
February 4, 2024

Hello @Rachana Kandlagunta 

Welcome to the Atlassian community.

Please start a new Question post and describe your scenario fully. Please provide screen images showing the rule you have created.

Suggest an answer

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

Atlassian Community Events