The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Trudy P 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 P 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 P 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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events