Added by demas demas over 13 years ago
Hi all,
I need to modify mail template and add to it parent issue information.
I have found app/view/mailer/_issue_text_html.rhtml template and app/models/mailer.rb. I was looked at issue_add(issue) of the model, but issue.parent_id isn't set on the moment of sending email.
def issue_add(issue) // .... p issue.parent // -> nill p issue // ....
So, I am just wondering if there is any way to add parent issue details on the mail template and how can I get it?
I need to add parent issue details to the mail template too.
Any pointers?