-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 9.17.5, 10.0.2, 10.1.1, 10.2.1
-
Component/s: Documentation - All
-
None
-
9.17
-
1
-
Severity 3 - Minor
Issue Summary
Currently the Adding custom fields to emails documentation gives general guidance on how to update velocity templates to include custom field values.
The syntax provided does not work with the Advanced Roadmaps team field because it is stored differently in the database than traditional custom field values.
Please add a section to both the text and html dropdowns specifically calling out the ARM Team field:
text
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_<ID>")) #if ($issue.getCustomFieldValue($customfield)) $stringUtils.leftPad($customfield.name, $padSize): $issue.getCustomFieldValue($customfield).description.title #end
html
#if(${customFields.get('customfield_<ID>').getValue()}) <tr> <td>$escape.apply($customFields.get('customfield_<ID>').getName()):</td> <td> $escape.apply($customFields.get('customfield_<ID>').getValue(description.title)) </td> </tr> #end
Steps to Reproduce
n/a
Expected Results
n/a
Actual Results
n/a
Workaround
n/a