Versions Compared

Key

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

In order to use custom fields in your own email templates, you should start adding/editing the template using the instruction here.

You can put custom fields to the template in 2 ways:

1. Using name

Code Block
languagejava
$issue.getCustomFieldValue($customFieldManager.getCustomFieldObjectByName('Name
_
 Of
_
 Custom
_
 Field')).toString()

where ‘Name

_

Of

_

Custom

_

Field’ should be replaced with

you

your custom field’s name

2. Using ID:

Code Block
language
text
java
$issue.getCustomFieldValue($customFieldManager.getCustomFieldObject(
Custom_Field_Id
'customfield_ID)).toString()

where

Custom

customfield_

Field_Id

ID should be replaced with your custom field’s ID (E.g. ('customfield_10800')