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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,561 views 22 33
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