Provided Default Templates
After installing Issue Publisher for Jira two default templates are already available:
Default Single Issue Template
Name | Default Single Issue Template |
---|---|
Page Title | $!fieldHelper.getValueAsString("summary") ($!fieldHelper.getValueAsString("key")) |
Body | <table class="wrapped"><colgroup><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <td>$!fieldHelper.getValueAsString("key")</td></tr> <tr> <th>Created</th> <td>$!fieldHelper.getValueAsString("created")</td></tr> <tr> <th>Due</th> <td>$!fieldHelper.getValueAsString("dueDate")</td></tr> <tr> <th>Reporter</th> <td>$!issue.getReporter().getDisplayName()</td></tr> <tr> <th>Assignee</th> <td> <p>$!issue.getAssignee().getDisplayName()</p></td></tr> <tr> <th>Type</th> <td>$!fieldHelper.getValueAsString("issueType")</td></tr> <tr> <th>Priority</th> <td>$!fieldHelper.getValueAsString("priority")</td></tr> <tr> <th>Status</th> <td>$!fieldHelper.getValueAsString("status")</td></tr> <tr> <th>Component/s</th> <td>$!fieldHelper.getValueAsString("components")</td></tr></tbody></table> <h2>Description</h2> <p>$!fieldHelper.getValueAsString("description")</p> #if(! $issue.getSubTaskObjects().isEmpty()) <h2>Sub-Tasks</h2> <table><colgroup><col /><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <th>Summary</th> <th>Status</th></tr> #foreach($subtask in $issue.getSubTaskObjects()) <tr> <td>$!fieldHelper.getValueAsString($subtask, "key")</td> <td>$!fieldHelper.getValueAsString($subtask, "summary")</td> <td>$!fieldHelper.getValueAsString($subtask, "status")</td></tr> #end </tbody></table> |
Labels | $!fieldHelper.getValueAsString("labels") |
Default Multi Issue Template
Name | Default Multi Issue Template |
---|---|
Page Title | $!fieldHelper.getValueAsString("summary") ($!fieldHelper.getValueAsString("key")) |
Header | <table class="wrapped"><colgroup><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <td>$!fieldHelper.getValueAsString("key")</td></tr> <tr> <th>Created</th> <td>$!fieldHelper.getValueAsString("created")</td></tr> <tr> <th>Due</th> <td>$!fieldHelper.getValueAsString("dueDate")</td></tr> <tr> <th>Reporter</th> <td>$!issue.getReporter().getDisplayName()</td></tr> <tr> <th>Assignee</th> <td> <p>$!issue.getAssignee().getDisplayName()</p></td></tr> <tr> <th>Type</th> <td>$!fieldHelper.getValueAsString("issueType")</td></tr> <tr> <th>Priority</th> <td>$!fieldHelper.getValueAsString("priority")</td></tr> <tr> <th>Status</th> <td>$!fieldHelper.getValueAsString("status")</td></tr> <tr> <th>Component/s</th> <td>$!fieldHelper.getValueAsString("components")</td></tr></tbody></table> <h2>Description</h2> <p>$!fieldHelper.getValueAsString("description")</p> #if(! $issue.getSubTaskObjects().isEmpty()) <h2>Sub-Tasks</h2> <table><colgroup><col /><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <th>Summary</th> <th>Status</th></tr> #foreach($subtask in $issue.getSubTaskObjects()) <tr> <td>$!fieldHelper.getValueAsString($subtask, "key")</td> <td>$!fieldHelper.getValueAsString($subtask, "summary")</td> <td>$!fieldHelper.getValueAsString($subtask, "status")</td></tr> #end </tbody></table> |
Body | <table class="wrapped"><colgroup><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <td>$!fieldHelper.getValueAsString("key")</td></tr> <tr> <th>Created</th> <td>$!fieldHelper.getValueAsString("created")</td></tr> <tr> <th>Due</th> <td>$!fieldHelper.getValueAsString("dueDate")</td></tr> <tr> <th>Reporter</th> <td>$!issue.getReporter().getDisplayName()</td></tr> <tr> <th>Assignee</th> <td> <p>$!issue.getAssignee().getDisplayName()</p></td></tr> <tr> <th>Type</th> <td>$!fieldHelper.getValueAsString("issueType")</td></tr> <tr> <th>Priority</th> <td>$!fieldHelper.getValueAsString("priority")</td></tr> <tr> <th>Status</th> <td>$!fieldHelper.getValueAsString("status")</td></tr> <tr> <th>Component/s</th> <td>$!fieldHelper.getValueAsString("components")</td></tr></tbody></table> <h2>Description</h2> <p>$!fieldHelper.getValueAsString("description")</p> #if(! $issue.getSubTaskObjects().isEmpty()) <h2>Sub-Tasks</h2> <table><colgroup><col /><col /><col /></colgroup> <tbody> <tr> <th>Key</th> <th>Summary</th> <th>Status</th></tr> #foreach($subtask in $issue.getSubTaskObjects()) <tr> <td>$!fieldHelper.getValueAsString($subtask, "key")</td> <td>$!fieldHelper.getValueAsString($subtask, "summary")</td> <td>$!fieldHelper.getValueAsString($subtask, "status")</td></tr> #end </tbody></table> |
Footer | Empty |
Labels | $!fieldHelper.getValueAsString("labels") |