Redirect | ||||||
---|---|---|---|---|---|---|
|
Note | ||
---|---|---|
| ||
Thank you for visiting our old product documentation site. Note that weare in the process of migrating our product documentation and soon we will notno longer store or update our documentation here.Please navigate to our new documentation site and update your bookmarks accordingly. If you're looking for the former content of this page, click here. |
Velocity Context offers many objects for templates. Find the list of variables with explanations here: Customizable Email Templates#VelocityContextforTemplates.
Below is the detailed description of object attributes. You can render the attributes in the templates in the format of $!variable.attribute
Table of Contents |
---|
User
...
userKey
...
String
...
username
...
email
...
displayName
...
active
...
avatar24
avatar32
avatar48
...
Issue
Attributes
...
...
...
...
...
...
...
Collection<String>
Methods
...
- customFieldKey: key of the custom field
...
IssueEvent
...
EventType
...
issue
...
changelog
...
worklog
...
Comment
...
Changelog
...
items
...
List<67403779>
...
ChangelogItem
...
created
...
Date
...
field
...
String
...
fieldId
...
String
...
fieldType
...
String
...
from
...
String
...
fromString
...
String
...
to
...
String
...
toString
...
String
Worklog
...
author
...
comment
...
created
...
issueId
...
started
...
timeSpent
...
String
...
timeSpentSeconds
...
visibilityType
...
visibilityValue
...
updateAuthor
...
EmailCommand
...
Template Support
...
isAgent($!currentUser, $!issue.project)
isAgent($!currentUser, $!issue.projectObject)
...
Returns true if the given user is an agent on the project, otherwise false.
Project
...
IssueType
...
Status
...
Priority
...
Resolution
...
Timetracking
...
originalEstimate
...
Attachment
...
Component
...
Version
...
CustomFieldValue
...
Contains the raw value of the field.
Type is the type of declared in Jira. One of
- Date
- String
- User
- Collection<User>
CustomField
...
key
...
. |
...
The format is customfield_$id.
...
FieldValue<T>
...
Contains the raw value of the field.
Type is the type of declared in Jira. One of
- Date
- String
- User
- Collection<User>
...