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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,551,679
Community Members
 
Community Events
184
Community Groups

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

1 accepted

0 votes
Answer accepted
Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 08, 2022

Hey @Anuj M Kachapati

Please check the answer I have suggested here if it helps https://community.atlassian.com/t5/Jira-Software-questions/How-to-link-the-created-story-in-a-branch-to-an-epic-that-was/qaq-p/1904837

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.

Regards,

Vishwas

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. 

Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 10, 2022

Hi Anuj,

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

Regards,

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

Like Vishwas likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events