How to Hide the Login Gadget from Jira’s System Dashboard

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This document includes customizations to Jira and direct database manipulation, which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Purpose

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.

Solution

Solution

The steps below will allow you to disable this system gadget entirely. If you do this, users would then only be able to login to the site via the /login.jsp page, which they can also reach by clicking the Log In button in the top right corner of that page.

This procedure makes changes to mission-critical components of your Jira. Be careful to make a backup copy prior to modifying any file.

If this solution does not work, please review the following article: Jira Login Gadget not hiding from Dashboard

Preparing the jpm.xml

  1. Navigate to <jira-install>/atlassian-jira/WEB-INF/classes/

  2. Make a backup copy of jpm.xml named jpm.bak

  3. Edit the jpm.xml file

    • Find 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>
  4. Change the value of <default-value>false</default-value> to <default-value>true</default-value>

  5. Change the value of <admin-editable>false</admin-editable> to <admin-editable>true</admin-editable>

  6. Change the value of <sysadmin-editable>false</sysadmin-editable> to <sysadmin-editable>true</sysadmin-editable>

  7. Save the file

Creating or Editing jira-config.properties

  1. Navigate to <jira-home>

  2. Check for the presence of a jira-config.properties file (see also Advanced Jira application configuration)

    • If it exists, back it up now.

    • If not, create a new, blank text file with that name.

  3. Add this line to the end of the file:

    jira.disable.login.gadget=true
  4. Save the file.

  5. Restart Jira to commit changes.

Alternate Solution (Database)

It is also possible to hide the login gadget by setting the jira.disable.login.gadget property in the database, using the following steps. (Note that this method takes precedence over the jpm.xml / jira-config.properties method above, if both are applied together.)

Always back up your data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.

  1. Take a backup of your Jira instance.

  2. Stop Jira.

  3. Run the following SQL query on the Jira database: asaa

    • If the result of the query in step 3 was 0, run the following SQL queries:

      INSERT INTO propertynumber VALUES ((SELECT max(id)+1 FROM propertyentry), '1'); INSERT INTO propertyentry VALUES ( (SELECT max(id)+1 FROM propertyentry), 'jira.properties', 1, 'jira.disable.login.gadget', 1 );

    • If the result of the query in step 3 was 1, run the following SQL query:

      UPDATE propertynumber SET propertyvalue=1 WHERE id=(SELECT id FROM propertyentry WHERE property_key='jira.disable.login.gadget');

  4. Start Jira.

Updated on June 10, 2025

Still need help?

The Atlassian Community is here for you.