How to hide the Login Gadget from the System Dashboard in Jira

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

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

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.

In case the solution does not work.

Please review this Jira Login Gadget not hiding from Dashboard


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.

  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
    1. 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)
    1. If it exists, back it up now.
    2. 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;
Last modified on Jan 4, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.