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.

  1. <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;
最終更新日: 2024 年 1 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.