Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

JSM Automation Link to Epic problem

John Funk Community Leader May 07, 2021

Hey Everyone,

I have an automation rule I can't figure out. See the rule image below. Basically, I am firing a trigger based on new Epic getting created. Then I create another issue. Part of that issue creation links back to the Epic (using Trigger Issue) and that works fine. 

But now I need to create a second issue based on a combination of values in the first card created. So, I created a branch. It works fine and the second card gets created and copies down all of the values. 

However, the field for Epic Link in the second issue always throws and error that it can't find the parent. 


The field it is referring to is the Epic Link. Again, no matter what I put in there, I get the same error - whether is Copy from Current Issue, Copy from Trigger Issue, Copy from Parent Issue, Copy from Epic Issue.



2 answers

Hey @John Funk,

Without having tried to simulate your rule, can't you store the Epic link in a variable before you branch your rule and use that to set the Epic link for your second task?

My guess is the problem is related to the fact that your creating the second issue while you are in the branch of the task you created. And that's not an epic or not the parent of the additional issue you're creating. 

John Funk Community Leader May 09, 2021

Hey Walter - thanks for the reply. I haven't used variables in automation before - do you have some same code for the Epic Link?

Hey @John Funk,

I think I managed to get there:

Screenshot 2021-05-10 at 18.01.27.png 

I created an epicLink variable while the automation is holding the Epic issue current and simply fetched the {{issue.key}} as smart value.

Then, to update the epic link of my newly created issue, I used the advanced options to update the Epic link field like this:

Screenshot 2021-05-10 at 18.05.38.png

Then managed to run the rule successfully at least once 😅.

Hope this helps!

John Funk Community Leader May 10, 2021

Thanks! Will give it a whirl and let you know!

John Funk Community Leader May 14, 2021

I get this error:


John Funk Community Leader May 17, 2021

I ended up breaking the rule up into two separate rules. 

0 votes
Yvan Martin Atlassian Team May 13, 2021

Hi there,

Developer from Automation here.

You should be able to refer back to the original trigger issue by using copy from trigger issue on the field, or using a smart value on {{triggerIssue}}.

Your issue might be due to the particular fields and setup you have, if you are continuing to have problems then it's best to contact support since they can look into your instance configuration:

This rule worked fine on my instance: 

Screen Shot 2021-05-14 at 3.58.38 pm.png

Screen Shot 2021-05-14 at 4.02.17 pm.png


John Funk Community Leader May 14, 2021

Hi Yvan - As noted in my original question, we have tried that and it still fails with the Parent error. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

305 views 9 7
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