<img>
tag level. This way you can send out attachments of the issue, and the recipient does not need to connect and create a Jira user account to see the attachment.data-embed="true"
attribute to the <img>
element. currentUser
$!currentUser.displayName
mailSubject
mailBody
issue
$!issue.summary
baseUrl
comment
#renderComment()
changeLog
#renderChanges()
worklog
#renderWorklog()
emailCommand
$!emailCommand.attachment
ssentDate
$!sentDate
stringUtils
$!stringUtils.isBlank($!issue.summary)
$!stringUtils.join($!issue.labels, ", ")
templateSupport
#renderCustomField($!issue 'customfield_10014'
- however, the custom field ID can vary per site) won't work after this deadline.#renderParent
or #renderParentEpic
).#renderParent
macro currently does not work as expected for higher hierarhy levels than that of Epic (1).
E.g. #renderParent($!issue, 2)
will not render a parent having 'Initiative' issue type (hierarchy level 2).#renderDateTime($dateTimeValue $pattern $timezone)
$dateTimeValue:
the value to be formatted$pattern
: the pattern describing the date and time format. You can find description about formatting and patterns here.$timezone:
the time zone used for formatting. You can find a list of in the Supported Time Zones Appendix.dateTime
field based on the pattern and the timezone.#renderDateTime($!issue.created "dd MMM yyyy hh:mm a" "Australia/West")
#renderIssueComments($order $num $restrictions)
$order
: "asc" or "desc"$num
: an positive integer number or "all" to render all comments matching <restrictions>
$restrictions:
comment restrictions, values are:#renderIssueComments("desc" "all" "")
prints all comments starting with the latest one. #renderIssueComments("asc" "all" "")
prints all comments starting with the first one. #renderIssueComments("desc" "1" "")
prints the latest comment.#renderIssueComments("desc" "all" "none")
prints all comments which are not restricted. #renderIssueComments("desc" "all" "public")
prints all public comments starting with the latest one.#renderLinkToPortal($linkText)
$linkText
: text to show for the link in html mails.#renderLinkToPortal("View Customer Portal")
#renderLinkToPortalRequest($linkText)
$linkText
: text to show for the link in html mails#renderLinkToPortalRequest("Open request")
#renderAllComments($comments)
$comments
: The comments to render#renderAllComments($!issue.comments)
#renderChanges()
#renderChanges()
#renderComments($comments)
$comments
: The comments to render#renderComments($!issue.comments)
#renderCommentsInReverseOrder($comments)
$comments
: The comments to render#renderCommentsInReverseOrder($!issue.comments)
#renderCustomField($issue $customFieldKey)
$issue
: the issue in the context$customFieldKey
customfield_10001
)#renderCustomField($!issue, 'customfield_10603')
#renderLastComment($issue)
$issue
: The issue#renderLastComment($!issue)
#renderParent($issue, hierarchyLevel)
$issue
: The issue, whose parent issue shall be rendered$hierarchyLevel
: the minimal hierarchy level of the parent issue to be rendered#renderParent($!issue, 0)
=> renders Story/Task or higher level (e.g. Epic) parent issue#renderParent($!issue, 1)
=> renders Epic or higher level (e.g. Initiative) parent issue#renderParentEpic($issue)
$issue
: The issue, whose parent issue shall be rendered#renderParentEpic($!issue)
customfield
ID as shown in the following example: