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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation to set Parent Link for Epic to Initiative Edited

Fellow Automators,

I am at an impasse with Automation for Jira and need help.

My dept is currently using an automation to create an Initiative (custom issuetype for Adv Roadmaps, heirarchy set up per documentation) for every Epic created in this other project, however, for the sake of the Plans feature, I cannot figure out how to set the Parent Link between the two via Automation.

I saw another discussion give an answer for a Parent Link for a Task using this code "{"fields":{"parent":{"id":"36768"}}}" but this error is returning to me "Issue type 10020 is not a sub-task but a parent is specified. (issuetype), Sub-tasks must be created in the same project as the parent. (project)."

Could this error be because it was for Tasks and not Epics? What would be the correct id?

This area of Automation is lacking and I dearly miss Code Barrell's documentation, but that's another topic.

Thanks for any help yall can provide.

1 answer

0 votes
frother Atlassian Team Sep 28, 2020

Hi Ethan,

Thanks for reaching out.

The hierarchy in advanced road maps unfortunately isn't maintained by a single field, it depends on the issue type.

Epic -> Any issue above epic: Need to set parent link

Any issue -> Epic: Need to set epic link

Subtask -> Any issue: Need to set parent

So with that said, it sounds like you are trying to set a relationship maintained by the parent link field. To do that you need to do the following in the advanced section:

"fields": {
"Parent link": "ISSUE_KEY_HERE"

Hope that helps.



By the looks of it, this would be for setting a single issue as parent link. What would be the coding for setting it as the trigger issue.

My Automation goes:

Manual trigger
Clone Epic ticket to be an Initiative ticket in the IN project and set the parent link.

I feel like the documentation has become less useful since Atlassian bought Automation out.

Thanks so much,

Like # people like this

Hi @Ethan V. 

having the same question - could you solve it by now? 


Dear @Ethan V. ,

kept searching and found this solution: 

"fields": {
"Parent link": "{{triggerissue.key}}"

In this case the triggering issue is added as the parent, you can change that according to the smartvalue syntax


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

73 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you