Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,559,012
Community Members
 
Community Events
184
Community Groups

How to pick up the changes immediately after editing the .vm files in email templates?

We are running on a Jira Data Center instance of version 8.20.12 and would like to customize our email templates. The way we have been doing this is

1. Download .zip from System -> Mail -> Email templates

2. Make changes to .vm files

3. Save the changes and upload .zip

And we were able to see the changes. However, such a downloading-uploading loop is cumbersome and not ideal for version control. I've read this article  https://confluence.atlassian.com/adminjiraserver0820/customizing-email-content-in-jira-server-1095777454.html

and performed the following in the "Optional: Deploying Velocity templates without restarting Jira" section:

From <jira-install>/atlassian-jira/WEB-INF/classes/velocity.properties:

1. Change class.resource.loader.cache from true to false
2. Remove the comment sign (#) from #velocimacro.library.autoreload=true

We could not see the changes being picked up by Jira without an upload. For a data center instance, we'd like to know if there's a way that we can let Jira pick up changes immediately.

1 answer

1. Is there a way to disable/clear the cache?

2. Is there a command that we can use to force that?

3. Is there a way to restart velocity template without restarting the Jira instance

Suggest an answer

Log in or Sign up to answer