How to override forgotlogindetails.jspa in Jira 7.1.0

Larry Scott April 8, 2016

Before upgrading to JIRA 7.1.0 I had replaced the contents of /opt/atlassian/jira/atlassian-jira/views/forgotlogindetails.jsp with a custom page (since our login credentials are tied to our domain).  Since the 7.1.0 upgrade that custom page is no longer rendering (when a user clicks the 'Can't access your account?' link from the Login page).  The custom version of the 'forgotlogindetails.jsp' page is still at the same location on the server.  Did the process to override the default forgotlogindetails.jspa page change in 7.1.0 or did I forget something?

2 answers

0 votes
J van Leeuwen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2019

Hi everyone, 

A bit late for the OP, however, you can follow our KB: https://confluence.atlassian.com/jirakb/how-to-customize-the-login-gadget-225122084.html?_ga=2.236605320.884529875.1560883968-2109661131.1528827821, to customize the login gadget. Steps are as follows: 

  1. For JIRA 6.4 and above, the plugin file will be in the <jira-install>/atlassian-jira/WEB-INF/atlassian-bundled-plugins/ folder.
  2. Create a temporary folder and extract the jira-gadgets-plugin-<version>.jar file there:

    jar xf jira-gadgets-plugin-6.4.13.jar
  3. Until JIRA 6.4, you can modify the login.xml and login-gadget.soy files. For JIRA 7, the file to be modified is only login.soy.
  4. Create a new JAR container after modifying the files and name it the same as the original JAR file (e.g. jira-gadgets-plugin-<version>.jar). 

    jar cvfm jira-gadgets-plugin-6.4.13.jar META-INF/MANIFEST.MF ./*
  5. Restart JIRA.

Hope it helps! 

Cheers,
Jennifer van Leeuwen | Atlassian Enterprise Support

0 votes
Gordon Andersen May 11, 2016

Just following this thread

Suggest an answer

Log in or Sign up to answer