I'm trying to add a custom label field to the subject line of workflow transition event emails. I've created a new email template for this and it's successfully sending me emails unfortunatly I can't get the custom label values to show up. The code for the subject line is:
#disable_html_escaping()
#set($cFieldValue=$issue.customFieldManager.getCustomFieldObject("customfield_10064"))
($issue.key) $issue.summary - $issue.getCustomFieldValue($cField).getValue()
When I get the email I get this in the subject line:
JIRA DB (LER-7) Test - $issue.getCustomFieldValue($cField)
I've tried several other methods that I've found to try and get the fields value with no luck. How do I get JIRA to send the value instead of this?