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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I link a parent issue with epic created in automation?

I am creating an epic in jira automation and i am setting some particular fields in the epic.

I am unable to find the 'Parent Link' field in the list of fields.

Do you have a solution on how can I link the epic to a particular parent (feature issue type)?

1 answer

0 votes
Trudy Claspill Community Leader Nov 30, 2022


Welcome to the community.

You will have to do that with code since the field is not available in the list.

Can you show us the details of your automation rule? We can then point out where you need to add the code.

Am i using the correct code in the Additional fields section?
the one that you see '13074' is the parent that I want the epic to link under

Trudy Claspill Community Leader Nov 30, 2022

Do you get an error when this rule runs?

Is the parent issue key a static value that should be used in every execution of this rule?

Can you show us the entire rule - all the components of the rule?

Yes, the parent issue key is a static value in this rule. 
We will have the same parent issue key for all the epics created in the current Fiscal year and when the next fiscal year starts, we will then change the parent issue key static value to another parent issue key static value (next fiscal year parent issue)

Trudy Claspill Community Leader Nov 30, 2022

The code looks correct. Have you tried it? Is it successful?

Not tried yet, will try soon.
Thanks for the input.
What is the background understanding behind this code?
I mean I saw one of the articles and tried to copy it but is the field in the code case sensitive?

Trudy Claspill Community Leader Nov 30, 2022

Here is the reference document for advanced field setting/editing with JSON.

According to that document, field names are case sensitive.

Trudy Claspill Community Leader Nov 30, 2022

Ah, I gave you the wrong link. I gave you the one for Jira Cloud and your post is tagged as Jira Server.

Here is the correct page for Jira Server/Data Center:

You may need to double check the correct name for the field. Refer to this document for that:

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events