How to hide the Login Gadget from the System Dashboard in Jira
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
目的
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.
ソリューション
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
はじめに
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.
<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 (see also Advanced Jira application configuration)- 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;