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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,960 views 19 22
Read article

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