Hello Community,
I’ve been trying to add CustomFields to batchers-1.3.3.jar since we use batched notifications.
I got it working but in the email its displaying the key SUP-XXXXX, not the value.
I made a request to the API get Issue, and it also shows the value of that customfield beeing SUP-XXXX.
In Jira it shows the value of another customfield of that SUP-XXXX.
so is this code possible in batchers?
Issue: $issue.key - $issue.summary
#set( $epicCF = $customFieldManager.getCustomFieldObject("customfield_XXXXX") )
#set( $epicKey = $issue.getCustomFieldValue($epicCF))
#set( $epicDisplayName = $epicCF.getCustomFieldType().getEpicDisplayName($epicKey))
This is working
#if(${customFields.get('customfield_10006').getValue()})
<tr class="field-update">
<td valign="top" align="left" class="updates-diff-label">$escape.apply($customFields.get('customfield_10006').getName()):</td>
<td valign="top" align="left" class="updates-diff-content">
$escape.apply($customFields.get('customfield_10006').getValue())
</td>
</tr>
#end
GetName and GetValue are the only Methods
Thank You.