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:
#disable_html_escaping() $i18n.getText("template.user.forgotpassword.reset") --------------------------------------------------------------------- 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")) ${baseurl}/secure/ForgotLoginDetails.jspa?username=$velocityhelper.urlencode($user.name) #parse("templates/email/text/includes/userdetails.vm") #parse("templates/email/text/includes/footer.vm")
Help?
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.
atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/JiraWebActionSupport.properties
Is this the best/only solution?
Should have worked. What version of JIRA is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I asked you the version so that I could try it out. Given that you already downvoted, why bother huh? ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.