It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email notifications common file

Oliver Weiser Apr 10, 2016

Hi experts,

We need to add one static sentence to all email notifications, in the subject AND the body.

Please help finding the files that need to be modified.

We tried header.vm, footer.vm and a few more in /WEB-INF/classes/templates/email/html/includes with no effect.

We restarted the JIRA service after each change.

Thanks for your help,


1 answer

0 votes
Nic Brough [Adaptavist] Community Leader Apr 10, 2016

The header and footer .vm files you have found are the right place to do this, so the question is what you changed and why it's not working.  Can you make a really simple change to the footer.vm (just add a line of plain text at the bottom), restart JIRA and then tell us what you get when you comment on an issue (assuming your account is set up to get html email rather than plain text)

Oliver Weiser Apr 10, 2016

Hi Nic,

Thank you for your reply.

I actually got this to work for adding comments now.

The thing is: The display footer is different in the "Created" notification.

When looking at the "issuecreated.vm" it still includes the same footer.

Can you give a tip on where to put my text so it displays for all notifications?

Thanks and regads,



Nic Brough [Adaptavist] Community Leader Apr 10, 2016

Ok, that's good that you're able to see changes.

Your text should just go in the header or footer, as they're included in all emails about issues (except subscriptions).  So the question is what's different about the create.  I'm assuming you made your working change in the footer and not in the body of the comment email, so we need to look at why that's different.  Assuming the create and comment vms both say #parse(footer.vm) in the same way, then we just need to look at the footer.vm and where your code is in it.

Oliver Weiser Apr 10, 2016

It looks like the difference is between customer and agent.

For customers the changes are visible, for agents they are not...



Nic Brough [Adaptavist] Community Leader Apr 10, 2016

Ah, hang on, that's Service Desk mails, not JIRA Core.  Service Desk mails are built with different templates - they're bundled inside the Service Desk application and are really difficult to get at, because you have to unpack it, hack them and re-pack it.  It's not something I can recommend (as I've never got any repacking to work)

Oliver Weiser Apr 10, 2016

Ah, OK.

So the files in /WEB-INF/classes/templates/email/html/includes are used when an agent does something in JIRA itself.

Well, then I need the file(s) that I need to change in Service Desk 

Actually we modified a few soy files in service desk already, so rebundling is not a problem.

Can you please let me know which file(s) I need to adjust?



Nic Brough [Adaptavist] Community Leader Apr 10, 2016

I'd like to, but my attempts to rebundle were around stuff that had nothing to do with email, so I don't know where they are!

Oliver Weiser Apr 11, 2016

Never mind, you helped a lot already.

Thanks a million!

Best regards,


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

775 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you