The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to get the list of linked issues in body of custom email with Automation

Janaki.R
Contributor
July 20, 2022

Hi,

We are linking one issue with few other issues and I wanted to send a email with those linked issues key in a custom email with Jira automation.

For example: I have linked test-2 and test-3 for test-1, when i close test-1 email gets generated to specific group in that body should contain linkedissues: test1, test-2 with the links.

I am using this smart value but getting the empty list in email  {{#issue.issuelinks}}
<a href="https://URL/browse/{{outwardIssue}}">{{outwardIssue}}</a>{{^last}} , {{/}} {{/}}

I want only outward issues so just added outward issue in smart rule

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Bill Sheboy
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 Champions.
July 20, 2022

Hi @Janaki.R 

{{outwardIssue}} is an object, so perhaps try using just the keys with {{outwardIssue.key}}

Kind regards,
Bill

Janaki.R
Contributor
July 20, 2022

Hi @Bill Sheboy ,

Even i tried that but its not working.

Bill Sheboy
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 Champions.
July 21, 2022

Have you tried first writing your expression to the audit log to determine it is correct/contains data?

Also, I am using Cloud, and not Server/Data Center, so I cannot confirm which smart values are available to you.  You can do that with this how-to article, helping to confirm the references are correct:

https://confluence.atlassian.com/automation/find-the-smart-value-for-a-field-993924665.html