Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




CustomFieldData in email under v4.0

emails

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
SimonW
Replies (6)
helpful
0
not helpful

How many custom fields do you have? Remember the indexing is 0 based so you might need: $issue.IssueCustomFieldData[0].CustomFieldData Commented - $issue.IssueSummary


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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.


SimonW
· 1
SimonW
helpful
0
not helpful

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.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Scheduler.


SimonW
· 1
SimonW
helpful
0
not helpful

Check windows application lop (event viewer) for errors from the scheduler.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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.


SimonW
· 1
SimonW