Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable
Meaning
Example

$context.today

Current day - evaluated when template is executed

2016-10-15

$context.yesterday

Yesterday - evaluated when template is executed

2016-10-14

$context.sevendaysago

7 days ago - evaluated when template is executed

2016-10-07

$context.timezone

Timezone as defined in your JIRA instance

UTC

$context.onehourago

beginning of previous hour in format

yyyy-MM-dd'T'HH:mm:ss.SSSZ

2016-10-15T22:17:31.661+0200

$context.last_runDate when the scheduled messaging was last run. Applicable to digested notifications only

2016-10-07

$context.currentUsername

Username of user retrieved when template is being evaluatedthe user who triggered the Jira event


$context.currentUserDisplayName

User full name - retrieved when template is evaluatedFull name of the Jira user who triggered event

John Doe

$context.currentUserEmail

User's email address - retrieved when template is evaluatedEmail address of Jira user who triggered tevent

jdoe@mycompany.com

$context.destination

Destination of message. Email, slack channel or HipChat room

#general

$context.baseurlBase URL of JIRA installation. Useful for rendering links to issueshttps://jiraserver.mycompany.com:2990/jira
$context.customFieldManagerAccess to com.atlassian.jira.issue.CustomFieldManager
$context.issueManagerAccess to com.atlassian.jira.issue.IssueManager
$context.diffUtilsAccess to com.atlassian.jira.mail.DiffUtils
$context.textUtilsAccess to com.opensymphony.util.TextUtils
$context.jiraVelocityHelperAccess to com.atlassian.jira.util.JiraVelocityHelper
$context.i18nAccess to com.atlassian.jira.util.I18nHelper
$context.currentRecipientUser

Access to ApplicationUser object that contains data about the Jira user who will receive the current notification

Note, that your notification configuration should be sending as Multiple Emails