JIRA is Ignoring Changed "forgotpassword.vm" Velocity Template File

I would like to modify the "Forgot Password" email in JIRA. Currently, it says:

This user account is managed in an external User Directory and JIRA is not able to update your password.

Please contact your System Administrator if you have any further queries.

I tried to change it by modifying the WEB-INF/classes/templates/email/text/forgotpassword.vm file directly and restarting JIRA, but the changes were ignored.

Here is the changed file:




Using the email address associated with your JIRA account, please send a blank email to special-email-address@example.com to reset your password.
Once your new password is received, you may visit https://ldap.example.com/jira to set your password to something easier to remember.
Please contact your JIRA System Administrator if you have any further queries.

$i18n.getText("template.user.forgotpassword.lastshowlong", $params.get("password.hours"))





2 answers

1 accepted

I found a solution. Modifying the template.user.cannotchangepassword.reset, template.user.cannotchangepassword.cannot, and template.user.cannotchangepassword.contact fields of the following file meets my needs.


Is this the best/only solution?

2 votes

Should have worked. What version of JIRA is it?

JIRA v6.0.8 Standalone ... running on CentOS release 6.4

Any idea where JIRA caches the templates? I know that I usually have to do a "kill -9" when shutting down JIRA. Is it possible that shutdown isn't cleaning up behind itself?

My only other thought is that there is a .jar file with this file in it as well. Are you aware of any such files?

I asked you the version so that I could try it out. Given that you already downvoted, why bother huh? ;)

I apparently misunderstood the purpose of the up and down vote. My apologies.

I am still investigating this issue. If I identify the solution, I will be sure to post the solution regardless. I am going to try a virgin installation of v6.0.8 and see if there a plugin that may be interfering with the template.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot