HowTo: Hide the Login Gadget from the System Dashboard in JIRA
Introduction
For some configurations of JIRA, the pre-logon System Dashboard is used as an Information Radiator to show gadget information without requiring a login. In this use case, the login gadget steals precious real estate and also throws off the whole look.
As this document includes customizations to JIRA, Atlassian does not support this procedure and publishes this information for reference only.
Preparing the jpm.xml
This procedure makes changes to mission-critical components of your JIRA. Be careful to make a backup copy prior to modifying any file.
- Navigate to
<jira-install>/atlassian-jira/WEB-INF/classes/
- Make a backup copy of
jpm.xml
namedjpm.bak
- Edit the
jpm.xml
fileFind the following stanza:
<property> <key>jira.disable.login.gadget</key> <default-value>false</default-value> <type>boolean</type> <admin-editable>false</admin-editable> <sysadmin-editable>false</sysadmin-editable> </property>
- Change the value of <default-value>false</default-value> to <default-value>true</default-value>
- Change the value of <admin-editable>false</admin-editable> to <admin-editable>true</admin-editable>
- Change the value of <sysadmin-editable>false</sysadmin-editable> to <sysadmin-editable>true</sysadmin-editable>
- Save the file
Creating or Editing jira-config.properties
- Navigate to <jira-home>
- Check for the presence of a
jira-config.properties
file- If it exists, back it up now.
- If not, create a new, blank text file with that name.
Add this line to the end of the file:
jira.disable.login.gadget=true
- Save the file
- Restart JIRA to commit changes