Forums

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

How to show a LinkedIssue Summary in a Email notification template

Mari Car
Contributor
July 5, 2019

Hi all, 

I have a problem: I want to prepare a template for an Email with the Addon "EmailthisIssue" and I want to have the summary of the linkedIssue in the text (see my example). Can you help me with the right command? I already tried with " #renderLinkedIssue($!issue.summary)" and with "#parse('templates/emailissue/email/text/issue-links.vm'). The last solution is almost what I need, but I just need the summary and it shows more than that. 

"Dear  $!issue.summary,

your training is on (HERE I need to put the summary of the linkedIssue)

If you have any questions, feel free to conctact me.

Best Regards"

 

Thank you in advance and best regards, 

Maria

 

1 answer

0 votes
Brittany Wispell
Community Champion
July 6, 2019

Hey @Mari Car 

Maybe try something like this?

#if ($issue.getInwardLinks() != "[]")
#set($inwardLinks = $issue.getInwardLinks())
#set($length = $inwardLinks.legth())
<div style="display:inline; margin-right: 10px;">Links: $inwardLinks</div>
#end

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events