You can use following templates:
...
Code Block |
---|
language | xml |
---|
title | Example 1 |
---|
collapse | true |
---|
|
#foreach($comment in $comments)
<p>$comment.getBody()</p>
#end |
Code Block |
---|
language | xml |
---|
title | Example 1 |
---|
collapse | true |
---|
|
#foreach($comment in $comments)
<p>$fieldRenderer.renderWiki2Html($comment.getBody())</p>
#end |
...
Code Block |
---|
language | xml |
---|
title | Example 6 |
---|
collapse | true |
---|
|
#macro( renderJiraIssues $listTitle, $itemTitle $collection )
<h4>$title</h4>
<ul>
<li>title count: $subTasks.size()</li>
#foreach($issue in $collection)
<li>
<h5>$itemTitle</h5>
<ul>
<li>Key: "$issue.getKey()"</li>
<li>Summary: "$issue.getSummary()"</li>
</ul>
</li>
#end
</ul>
#end
<p>Public comments for the issue $issue.getKey() with summary "$issue.getSummary()"</p><br />
<ul>
<li>
#renderJiraIssues("Subtasks", "Subtask", $subTasks)
</li>
<li>
#renderJiraIssues("Issue Links", "Linked Issue", $links)
</li>
<li>
<h4>Remote Links</h4>
<ul>
<li>Remote Links count: $remoteLinks.size()</li>
#foreach($remoteLink in $remoteLinks)
<li>
<h5>Remote link</h5>
<ul>
<li>Title: "$remoteLink.getTitle()"</li>
<li>Url: $remoteLink.getUrl()</li>
</ul>
</li>
#end
</ul>
</li>
</ul> |
See also
PDF - Adding Easy PDF Word Issue Templates