Jira Automation - Clone story then email, email does not show {{issue.parent.key}} {{issue.parent.s

Laura Hanna
Contributor
January 12, 2024

I have a story that I am cloning. This copied the Parent Link. 

The cloned story looks fine, it includes the link. It has it showing "as child of" in the story.

This is all good. 

child.jpg

But, when I send an email after this with  {{issue.parent.key}} {{issue.parent.summary}}

It shows up as blank. The email is suppose to alert that there is a story created and it is part of the "main story".

email.jpg 

 

In the "send email" 

Decommission the following as per:</p>
Main Story: {{issue.parent.key}} {{issue.parent.summary}}<br /> {{issue.parent.url}}<br />

 

Email:

windows.jpg

1 answer

1 accepted

3 votes
Answer accepted
Murat Seven
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.
January 12, 2024

You can use the smart value {{createdIssue}} to access the last created issue in the rule.

 

or

 

you can try the below smart values:

{{issue.issuelinks.inwardIssue.key}}
{{issue.issuelinks.outwardIssue.key}}


Best,

Murat Seven

Laura Hanna
Contributor
January 12, 2024

Unfortunately, non of these work. Still Blank.

{{createdIssue.key}}

{{issue.issuelinks.inwardIssue.key}}
{{issue.issuelinks.outwardIssue.key}}

Laura Hanna
Contributor
January 12, 2024

Correction!

{{createdIssue.key}}

{{issue.issuelinks.inwardIssue.key}}

Both work! Thank you!

Like # people like this

Suggest an answer

Log in or Sign up to answer