You can use following templates:
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#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> |