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

Trying to automate Child Link creation based on Epic Link

Tammy Lanius February 25, 2025

I would like to automate creating a link for a Story/Task based on the value in the Epic Link. We use both Structure and Advanced Roadmaps so we need both the Epic Link (and Parent Link for other issues in the hierarchy). Here are the steps that I am trying to automate:

  1. Story is created and the Epic Link is populated
  2. Create an issue link using "IsChildOf" the issue populated in the Epic Link

OR

  1. Story is updated and the previously-empty Epic Link is populated
  2. Create an issue link using "IsChildOf" the issue populated in the Epic Link

I would greatly appreciate any help that can be given. I have searched everywhere for examples of this type of automation with no luck!

1 answer

0 votes
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.
February 25, 2025

Hello @Tammy Lanius 

Welcome to the Atlassian community.

Something like this should work:

Trigger: Field value change: Epic Link

Condition: Epic Link field is not empty

Action: Link Issue
Link type: "is child of"
Link to: {{issue.Epic Link}}

 

I don't have an environment where I can test that out, because I'm working with Jira Cloud rather than Jira DC, so I'm not 100% sure it will work. Try it and let us know if you run into problems.

There are a couple of cases you haven't included in your specifications:

- Epic Link is change from one Epic to a different Epic

- Epic Link is cleared

Tammy Lanius February 26, 2025

The Action: Link Issue does not allow me to link to  {{issue.Epic Link}}. 

The only choices are:

  • Link to Trigger Issue
  • Link to last created issue

I was aware that there were more use cases. I was just trying to get the basic functionality to work before I dug into the other use cases.

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.
February 26, 2025

In the Link Issues action you won't find the option in the selection list. You have to type in the smart value and then click below where is says Smart Value to save that into the field.

Screenshot 2025-02-26 at 3.22.12 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, university, on demand, transition to jira cloud

Transition to Jira Cloud

Switch to Jira Cloud with Atlassian University! Explore new navigation, issue views, and Cloud features like team-managed projects and automation. Tailored for Data Center users & admins, these courses ensure a smooth transition. Start your journey today!

Enroll now
AUG Leaders

Upcoming Jira Events