How can I display information from the parent issue, on a subtask email ?

Sandy Rogers June 19, 2012

When sending a subtask email, I would like to have some of the parent task information in the email. Can anyone help ?

2 answers

1 accepted

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2012

As per the docs you should be able to get issue.getParent() to get the parent object. From this object you should be able to get the data from parent and add to the email content.

And this link also may be helpful. Do appropriate condition checks so that the template works for non sub-tasks items too.

0 votes
Sandy Rogers June 24, 2012

Can you please help me with an example of the syntax I should use? I am trying to put custom fields from the parent issue into a subtask email and am not familiar with the language (I think it's JAVA)

Suggest an answer

Log in or Sign up to answer