Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to display the parent issue key in the email template

need an help in displaying the parent issue key in the email template.

Please help me in this 

1 answer

1 accepted

0 votes
Answer accepted

Hi @kiranmai genkolla are you on server or Data Center? In 8.14. simplified adjustment of templates was implemented:

Can u please tell me .. can I use $! Issueparent.key

I don't have 8.14 version installed right now, so I cannot download templates easily, but you can use Java API in velocity templates. So you should be able to use 

Like kiranmai genkolla likes this

issue.parent.key this is working for me to get the parent issue key display .


But now iam unable to display the parent value in subtask email template .

Eg : parent have abc (insight custom field) = xyz as values . I want to diplay the same in subtask .


Please help me in this ..

Hi @kiranmai genkolla I don't think it is easily doable. I am checking templates and it never uses CustomFieldManager or customField. It works mostly with history of the issue. Your problem is that you would need to implement template which works with some additional OSGi components (CustomFieldManager at least), but you would need also the Component which creates notification to "export" this component to the template which can't be done without adjusting Jira source code.

HI Martin ,


I have custom field values to display in the email template .

If suppose there are some 8 field to display in the email template , in which there are 2 fields which are not null value in it . In this case i should not display that 2 fileds which are having null in the email .


Can u please help me in this .

Can you post a template file here?

I have edit in html and that working fine ..

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events