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

Set epic link for newly created issues

I am looking to use Jira automation to create a new epic and stories and set the epic link in the new stories to the newly created epic. 

Basically I have two projects. In project A, I have epics with stories and I am using automation to create a copy of the epic and its stories in project B. I am not sure how to add the epic link in project B through automation. All stories created through automation in project B should link to the epic in project B. 

Looking forward to your suggestions. 

1 answer

Hey @Anuj M Kachapati

Please check the answer I have suggested here if it helps

In automation at the part where you are creating stories rite, there you will be having "More Options" pass these code in JSON.

    "fields": {
        "Epic Link": "{{issue.key}}"

You can try and let me know how it goes, happy to help based on the result you get.



Hi Vishwas, 

Thank you for getting back to me. I am able to link the issues to the epic in Project A but I am not sure if the above solution will allow me to link the newly created issues in Project B to the epic in Project B. 

What I've done as a workaround is pass a common key for the epic and it's issues from Project A to Project B and then use the key in Project B to link the issues to the epic.

Thanks for your help again. 

Hi Anuj,

Send me your automation rule, will simulate and try to get the solution.


Appreciate you help Vishwas but I am good with the workaround mentioned above. Thanks though. Have a good day

Like Vishwas N M likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

41 views 0 1
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