Forums

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

Automation to relate issues to epic is failing

Deano November 25, 2021

Hi all,

 

I am trying to create an automation that when an epic is created, a series of issues are created, then a series of child issues under them.

| Epic 
|- Issue
|-- Child Issue

The automation works and creates all the issues and child issues, but if you open an issue, it says "Add Epic" at the top. 

I am able to link the epic and the issue by using the "Linked Issues" field on issue creation. But when you go to say the Roadmap view, none of the issues created are listed under the epic as a drop down.

If I click into the epic itself, you can see "linked isues" has them correctly listed.

 

Expected behaviour: 

  • Create an epic from the roadmap screen
  • Have automation run and create a series of Issues and child issues
  • Those Tasks to be listed under the Epic on the roadmap screen

Action behaviour

  • Create an epic from the roadmap screen
  • Automation runs and creates Issues and child issues
  • Issues are not related to the parent epic and do not show under the epic on the roadmap view. Clicking the epic shows the issues as "Linked Issues". Clicking any of those issues shows "Add epic" at the top of it.

ksnip_20211126-153018.png

1 answer

0 votes
Walter Buggenhout
Community Champion
November 25, 2021

Hi @Deano,

Issues are linked to Epics through the Epic Link custom field, not through issue links. You'll need to set the parent - child relationship in that way instead in order to get the hierarchy right.

Hope this helps! 

Deano November 27, 2021

Thanks @Walter Buggenhout , could you explain how that is done? I feel like I've tried this, but might be missing a step.

When the issue is created, am I setting the field "Epic Link" with a smart value like {{issue.epic.key}} ?

 

Suggest an answer

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

Atlassian Community Events