Hi all,
I am trying to modify the mail content and switch to batched emails instead of single mails for every update.
Following the guide (Adding custom fields to email (atlassian.com))
Under step 2, HTML format, step 4, we can see the following listed:
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_10000"))
This appears to be not working for batched mails as I am not getting any response out of this.
I understand, that in batched emails, we can access the custom field values as follows:
#foreach ($value in $customFields)
#if(${value.getValue()})
$escape.apply($value.getValue())
#end
#end
This is working fine, however, in case of Asset objects, I am getting an array back and also including the key.
Is it possible to get the labels only in this case?
Thanks!
Stefan