Custom fields in e-mails
Hi.
Is it possible to insert a custom field value to the subject line of an e-mail generated by Gemini?
I'm editing IssueCommentSubjectLine.vm file and everything works fine, but I need to add a name of the customer connected to the issue (a custom field) and I can't find how to do this. I tried $Issue.IssueCustomFieldData[].CustomFieldData but it doesn't work...
Lorentzo
Lorentzo
· 1 |
|
Tuesday, October 27, 2009, 10:36:05 AM |
0
|
Did you specify the index of the custom field? |
||||
|
0
|
Yes, of course :) |
||||
|
0
|
That should work. Do you get any errors? |
||||
|
0
|
No errors. I just get "$Issue.IssueCustomFieldData[5].CustomFieldData" string in the subject. I use Mail plug-in, not the scheduler. |
||||
|
0
|
Can you please post the actual line from the vm file? |
||||
|
0
|
Actual line is quite simple: |
||||
|
0
|
Ok, this looks like there is an exception. Did you check the Gemini error log? |
||||
|
0
|
Log is clear. It looks like Gemini treats "$Issue.IssueCustomFieldData[5].CustomFieldData" as simple string. The same for "$Issue.IssueCustomFieldData.Length" |
||||
|
0
|
Sorry, I think I know why this happens. |
||||
|