CustomFieldData in email under v4.0
Hello,
My IssueCommentSubjectLine.vm template file is set up like this:
[$issue.IssueKey] $issue.IssueCustomFieldData[1].CustomFieldData Commented - $issue.IssueSummary
But when I receive an new comment email the subject line looks like this:
[SS-681] CounterSoft.Gemini.Commons.Entity.CustomFieldDataEN[][1].CustomFieldData Commented - Lorem ipsum dolor sit amet.
Is CustomerFieldData supported in the email template like I am attempting?
Appreciate any assistance.
SimonW
· 1 |
|
Thursday, April 21, 2011, 4:22:08 AM |
0
|
How many custom fields do you have? Remember the indexing is 0 based so you might need: $issue.IssueCustomFieldData[0].CustomFieldData Commented - $issue.IssueSummary |
||||
|
0
|
I've got 3 custom fields. The one I am interested in has an ID of 3, so I tried both ..[3] and ..[2]. That was under v3.7 and the result was similar (printed the entire command as a literal string) so I upgraded to v4.0 and I get the result as above. I can't remember if I have tried both the ID and a zero based equivalent, so will try and report back. |
||||
|
0
|
Sorry, are you using the mail plugin or scheduler service for sending alerts (Administration -> Notifications)? If you are using the mail plugin then this will not work. |
||||
|
0
|
Scheduler. |
||||
|
0
|
Check windows application lop (event viewer) for errors from the scheduler. |
||||
|
0
|
I've now checked the application log and there are no errors. So I'm not making any assumptions, the correct file to edit is: SubjectLineIssueCommented.en-GB from the ..\CounterSoft\Countersoft Gemini Scheduler Service\MailTemplates folder. |
||||
|