Hi,
I am trying to get a custom text field value into the "Email template" of "Send a custom email" script listener.
I tried many options that includes the following:
$cfValues['Custom Field Name']
$event.issue.getCustomFieldValue('customfield_11111')
$issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObjectByName("Custom Field Name"))
Email Template:
----------------------
Hello $event.issue.getCustomFieldValue('customfield_11111')
We have received your request for $issue.summary.
The reference number for this request is $issue.
Regards,
--------------------------------
Thanks for your time and help.
--John