Hi!
What I want to do is to change the Epic Link property of a Story created within an automation, to be the ID of a cloned epic in the same automation.
In below the automation is triggered manually, to Clone a given epic and then we fetch the issue.key of that Cloned Epic, place it in a variable and set the story with that variable. However, according to the logs the {{createdissueID}} is getting the correct ID but when setting Epic Link on the Story, it renders an empty log and the story is created without any Epic Link.
What am I doing wrong here and is it possible?
Thanks!
/Jakob
You can use smart value
{{#createdIssues}}{{key}}{{/}} for the epic link field. Please find the bellow screenshot for the same.
This was exactly what I was looking for. Difficult to find this answer anywhere.
Thanks,
Jakob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I do this I get: Error parsing template: Mismatched start/end tags: null != in template-92d62ab7-91f9-4fca-ad6b-6abf31c20d7d:1
I have this as {{mycreatedvar}}{{key}}{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jakob,
Developer from Automation here.
I'm glad you solved your issue using createdIssues.
When using the "Most recently created issue" branch, the smart value of that newly created issue will be accessed as {{issue} for components in that branch. So in your case {{issue}} or {{issue.key}} should have worked. createdIssues is another way to access that key without using that branch.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone. I see that the initial question was solved through using other smart values. However, I really would like to understand why the initial setup that @Jakob Agelin provided description of did not work.
I see several other threads here in Community (see links below) that describe using automation-created smart value to pick up the epic link to then insert it in newly cloned children. So I have been testing that same setup as Jakob describes above, where I get the exact same end result (meaning):
And like Jakob described, the epic link that is inserted into the cloned children is the original epic link, not the one picked up and proved correct in the smart variable varNewEpic.
I understand that I can use the setup above (although I so far have not been able to make it fly), but I really would like to understand why my varNewEpic is not inserted in the cloned issues.
Could you please elaborate @Yvan Martin ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having literally the EXACT same issue. So, that's two people interested! What are the odds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to do this but have no need to clone an epic - I just want to find an epic and get it's key into a variable so I can assign it as the epic link to a story.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.