Versions Compared

Key

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

Redirect
delay3
filename
locationhttps://docs.meta-inf.hu/jeti-cloud/general/email-this-issue-for-jira-cloud-api/email-this-issue-for-jira-cloud-api-for-velocity-context-objects

Note
titleDocumentation moved

Thank you for visiting our old product documentation site. Note that we

are in the process of migrating our product documentation and soon we will not

no 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<CustomFieldValue>

...

Collection<Comment>

...

Collection<Attachment>

...

Collection<Component>

...

Collection<Version>

...

Collection<Version>

...

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>

...