Advanced JIRA Configuration

JIRA では、複数の詳細設定オプションを利用出来ます。各オプションは個別プロパティ (もしくは値に対応するキー) として定義されています。これらのキー値の組み合わせは、JIRA が使用する3つの領域の内の1つに格納されます。

The JIRA Database

The values of a small number of most commonly edited advanced configuration options are stored in the JIRA database. These values can be edited from the Advanced Settings page of JIRA's administration area. To access the values for editing:

  1. JIRA 管理者グローバル権限を持つユーザーとしてログインします。
  2. Choose > System. Select General Configuration to open the Administration page. See Configuring Advanced Settings for details.

これらのプロパティの値は、変更されるとすぐに有効になります。

The jira-config.properties file

Custom values for JIRA's remaining advanced configuration options (i.e. not stored in the JIRA database) are stored as individual key-value pairs in a file called jira-config.properties (located in the JIRA Home Directory). Typically, these options are of little interest to most JIRA system administrators. While these key-value pairs can be edited, JIRA must be restarted for any changed values to take effect.

フォーマットの例
jira.projectkey.warning = testwarning
jira.projectkey.description = testdescription

 

(info) In new JIRA installations, this file may not initially exist and if so, needs to be created manually. For more information about editing the jira-config.properties file see here: Edit the jira-config.properties file in Jira server

The jpm.xml file

Default values for all* of JIRA's available advanced configuration options are stored in a file called jpm.xml (located in the <jira-application-dir>/WEB-INF/classes subdirectory of the JIRA Installation Directory). These default values are only used by JIRA if a property's value has not already been customized in either the JIRA database (via JIRA's 'Advanced Settings' page) or the jira-config.properties file.

(warning) The jpm.xml file should not be edited because any values that you customize in it will not be migrated automatically during subsequent JIRA upgrades. To change the value of a property for an advanced configuration option in JIRA, override the value of this property by redefining it in either:

  • JIRA データベース(JIRA の「詳細設定」ページより).
    または
  • jira-config.properties ファイル。

* JIRA recognises a small number of properties, which can be set in your jira-config.properties file but have no definition in the jpm.xml file. These properties:

  • jira-config.properties ファイルに定義されていない場合、一般に詳細設定オプションが無効化されていることを表します。
  • when not specified in your jira-config.properties file, typically affect JIRA's behavior differently to when they are specified in your jira-config.properties file with no value.

Making changes to the jira-config.properties file

To make changes to the jira-config.properties file:

  1. Shut down JIRA (for example, by executing either the /bin/stop-jira.sh or \bin\stop-jira.bat file in your JIRA Installation Directory, or by stopping the JIRA service).
  2. Open the jira-config.properties file (located at the root of your JIRA Home Directory) in a text editor.
    (warning) This file may not exist if you are using a new JIRA installation or an upgraded JIRA installation where your previous JIRA version(s) had never been customized. If this file does not exist, create it using a text editor.
  3. Edit the appropriate properties in this file.
    (tick) Editing tips:
    • To determine the default value of a property whose value you wish to redefine, search for that property in the <jira-application-dir>/WEB-INF/classes/jpm.xml file (of your JIRA Installation Directory). The default value is defined in the <default-value/> sibling element of the relevant property's <key/> element.
    • To override a property's default value in jpm.xml (which is not already defined in your jira-config.properties file or available on the 'Advanced Settings' page):
      1. Copy the value of the relevant property's <key/> element from the jpm.xml file to the jira-config.properties file.
      2. In the jira-config.properties file, add an '=' after that property's key, followed by your custom value.
    • To disable a custom property's value in the jira-config.properties file, either 'comment out' the property with a preceding '#' symbol or remove the property from the file.
  4. Save your modifications to the jira-config.properties file.
  5. Jira を再起動します。

参考資料

Setting Properties and Options on Startup — for changes like setting available memory, disabling email, enabling Jelly, etc.

最終更新日 2013 年 9 月 16 日

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

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