カスタム フィールドの追加

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

カスタム フィールドを作成して、既定のシステム フィールドでは提供されない情報を収集できます。開始する前に、カスタム フィールドの作成に関するヒントを読んで、フィールドの数が多すぎるために Jira インスタンスが混乱してしまわないようにしてください

カスタム フィールドは、常にオプションのフィールドです。つまり、既存の課題を変更せずに新しいカスタム フィールドを作成できます。既存の課題では、既定の値がそれに定義されていても、新しいカスタム フィールドに値は入りません。

After you make changes to custom fields, you should reindex your Jira.

次のすべての手順を行うには、Jira 管理者 グローバル権限 を持つユーザーとしてログインする必要があります。

カスタム フィールド作成のヒント

カスタム フィールドの作成と管理に関するヒントをいくつか紹介します。

カスタム フィールドの数を制限する

Jira 内で定義するカスタム フィールドの数に注意してください。1,000 個以上の場合は多すぎるため、Jira のパフォーマンスに影響を及ぼす可能性があります。問題の詳細については、以下で確認してください。

フィールド コンテンツを組み合わせる

何らかの情報をフィールドに忘れずに入力してもらいたい場合は、既定値としてテキスト テンプレートを使用した複数行のカスタム テキスト フィールドの使用を検討してください。Atlassian Marketplace には、そのような機能を提供するアプリがあります。

フィールド名の重複を避ける

新しいカスタム フィールドに、既存のカスタム フィールドと同じ名前を付けないでください。カスタム フィールドを作成する前に、同じ名前のカスタム フィールドが既に存在していないか、必ず確認してください。 

同じ名前のカスタム フィールドを作成すると、ユーザーが JQL 検索で正しいフィールドを選択しにくくなります。 

また、既定の Jira フィールドと同じ名前のカスタム フィールドを作成しないでください。たとえば、「Status」フィールドが 2 つあると (既定フィールドとカスタム フィールド)、検索や課題管理に支障をきたします。 

可能な限り汎用的な名前を使用する

後で別の場所で再利用できるように、カスタム フィールドには具体的ではない名前を付けてください。たとえば、フィールドの名前を「マーケティング目的」にするのではなく、「目的」にして、フィールドが使用される Jira プロジェクトが一覧表示されるフィールド設定に説明を入力します。

On this page:

カスタムフィールドタイプ

When creating a new custom field, you should first set a type of this field. The type indicates how your custom field will display and function, as well as what values it can accept.

The following table lists a wide array of custom field types that Jira provides to cover various use cases of what information must be present in issues and how.

By default, you’re offered to select from standard field types when adding a new custom field. To open the full list of the custom field types, select All in the dialog window.

Custom field type説明

JIRA CORE custom field types

Checkboxes STANDARD

Allows selecting multiple values from the list.

Checkboxes is one of the custom field types for which you should create options. Tell me how

Date picker STANDARD

Allows selecting a date

Date time picker STANDARD

Allows selecting a date and time

Labels STANDARD

Allows adding labels to issues to facilitate issue categorization and search

Number field STANDARD

Stores and validates a floating point number

Radio buttons STANDARD

Allows selecting on value from the list.

Radio buttons is one of the custom field types for which you should create options. Tell me how

Select list (cascading) STANDARD

Allows selecting values based on their parent-child relation.

Select list (cascading) is one of the custom field types for which you should create options. Tell me how

Select list (multiple choices) STANDARD

Allows selecting multiple values from the list.

Select list (multiple choices) is one of the custom field types for which you should create options. Tell me how

Select list (single choice) STANDARD

Allows selecting one value from the list

Text field (multi-line) STANDARD

Creates an unlimited text area where a user can enter a long text with many lines

Text field (single line) STANDARD

Creates a text box where a user can enter a one-line text, no longer than 255 characters including spaces

URL field STANDARD

Allows entering one URL

User picker (single user) STANDARD

Allows selecting one user

Group picker (multiple groups) ADVANCED

Allows selecting multiple user groups

Group picker (single group) ADVANCED 

Allows selecting one user group

Project picker (single project) ADVANCED

Allows selecting one project that the user can view in Jira

Text field (read only) ADVANCED

Creates a read-only text label for setting values programmatically. A value can contain no more than 255 characters, including spaces.

User picker (multiple users) ADVANCED

Allows selecting multiple users

Version picker (multiple versions) ADVANCED

Allows selecting multiple versions

Version picker (single version) ADVANCED

Allows selecting one version

JIRA SOFTWARE ONLY custom field types

Global rank ADVANCED

Jira Software automatically creates the Rank custom field of this type. The Rank field allows you to assess the importance or urgency of your issues and prioritize them, move them across sprints, or group sub-tasks under particular parent issues. Learn more about ranking

Hidden job switch ADVANCED

Sets a hidden switch programmatically to choose whether or not to create a Perforce job.

Jira released version history ADVANCED

Allows setting a custom release version

Job checkbox ADVANCED

Creates a checkbox to choose whether or not to create a Perforce job.

Original story points ADVANCED

Stores the original number of story points assigned to an issue before the work on it is started

新しいカスタム フィールドの作成

カスタム フィールドを作成するには、次のようにします。

  1. 画面右上で [管理] > [課題] の順に選択します。

  2. Under Fields (the left-side panel), select Custom fields.

  3. [カスタム フィールドを追加] を選択します。

  4. [フィールド タイプの選択] モーダル ダイアログで [すべて] を選択し、使用可能なすべてのフィールド タイプを表示できるようにします。

  5. フィールド タイプを選択し、[次へ] を選択します。たとえば、[チェックボックス] フィールド タイプを選択します。

  6. Configure the field by entering its name, description, and options if required. Select Next.

    You’ll see the Name as the custom field's title when entering and retrieving information on issues. You’ll see the Description beneath the field when creating new issues and editing existing issues, but not when browsing issues.

  7. フィールドのコンテキストを設定します。

    コンテキストとは

    カスタム フィールドのコンテキストは、同じフィールドの異なる設定です。複数のコンテキストを構成すると、異なるプロジェクトに対して異なる既定値やオプションを使用したり、特定の課題タイプまたはプロジェクトにのみフィールドを適用したりすることができます。一般に、パフォーマンスの観点から、カスタム フィールドを実際に使用するプロジェクトのみにカスタム フィールドの適用を制限することをお勧めします。コンテキストは後で構成できます。

    構成方法については、カスタム フィールド コンテキストの設定を参照してください。

  8. カスタム フィールドを適用する必要があるプロジェクトを選択します。
  9. [作成] を選択します。

これで、新しいカスタム フィールドを課題画面に関連付け、課題にフィールドを追加できるようになりました。詳細情報

カスタム フィールドの課題画面への関連付け

カスタム フィールドを作成すると、[画面] ページが表示されます画面の詳細

ここで、カスタム フィールドが表示される課題画面を選択できます。たとえば、[既定の画面] や [課題解決画面] などに表示できます。

フィールドを画面に関連付けるには、目的の画面の横にあるチェックボックスをオンにして、[更新] を選択します。 

カスタム フィールドは、これを有効にしたすべての課題画面で使用できるようになります。ここでどの画面も選択しなければ、課題の作成または編集するときにカスタム フィールドは表示されません。

既存の関連付けの編集

カスタム フィールドと選択した画面の関連付けはいつでも編集できます。この操作を行うには、次の手順に従います。

  1. 画面右上で [管理] > [課題] の順に選択します。

  2. Under Fields (the left-side panel), select Field configurations.

  3. フィールド設定を選択します。

  4. リスト内からカスタム フィールドを見つけて、[画面] を選択します。

  5. 関連付けを変更し、[更新] を選択します。

画面との関連性に関係なく、カスタム フィールドを既存の課題に追加することもできます。

カスタム フィールドを課題に直接追加する

カスタム フィールドが課題画面に関連付けられていなくても、特定のタイプの既存の課題にこのフィールドを追加できます。これを行う前に、目的の課題タイプのフィールドが有効になっていることを確認してください。 

課題にフィールドを追加する手順は、次のとおりです。

  1. 課題を開きます。

  2. Select Admin > Add field. In the dropdown, select the field you want to see in the issue view.

  3. Select Edit field to set a value for the field immediately.

  4. [送信] を選択します。

次のすべての手順を行うには、Jira 管理者 グローバル権限 を持つユーザーとしてログインする必要があります。

カスタム フィールドは、[詳細] ブロックまたは [課題編集画面] のいずれかに表示されます。フィールドを編集できない場合、変更方法を確認してください

対応する課題画面との関連付けは、自動的に生成されます。

フィールドは、有効にしたすべてのタイプの全課題で使用できるようになります。たとえば、バグに対してのみ、フィールドが有効になっているとします。この場合、そのフィールドを 1 つのバグに追加するとすぐに、フィールドに設定したコンテキストに応じて、特定のプロジェクトまたはインスタンス全体のすべてのバグにフィールドが表示されるようになります。 

ボードまたはバックログ ビューでフィールドを有効にする

Jira 管理メニューからフィールドを追加できます。詳細については、画面のタブとフィールドを設定するを参照してください。

あるいは、課題から直接行うこともできます。たとえば、前のセクションで追加した [課題ラベル] カスタム フィールドを有効にしてみましょう。

  1. ボードまたはバックログ ビューに移動して、既存の課題を編集します。

  2. 右上隅にある [フィールドを設定> [フィールドがありませんを選択し、フィールド ヘルパーを開きます。

  3. カスタム フィールドの名前を入力します。この場合は、「Issue label」と入力します。

  4. フィールドのステータスや、フィールドが表示されない理由の詳細、およびフィールドの設定を更新する方法が表示されます。

  5. "課題ラベルの設定" ページから、プロジェクトと課題タイプ スコープのフィールド設定を更新します。 詳細は「カスタム フィールド コンテキストの設定」をご確認ください。

  6. [OP: Scrum Bug Screen' Screen configuration (OP: スクラムバグ画面の画面設定)] ページから、フィールド画面の設定を更新します。詳細については、「課題ビューの設定」の「追加したフィールドを課題ビューで編集可能にする」セクションを参照してください。

カスタム フィールドが追加される課題タイプを変更する

カスタム フィールドを追加した課題タイプはいつでも変更できます。たとえば、フィールドはバグにのみ追加できますが、すべてのタイプの課題にそれを追加したいとします。

課題タイプを変更するには、以下のようにします。

  1. 画面右上で [管理] > [課題] の順に選択します。

  2. Under Fields (the left-side panel), select Custom fields.

  3. リスト内からフィールドを見つけて、[アクション] で [設定] を選択します。

  4. On the page with configurations, select Edit configuration.

  5. Go to Choose applicable issue types and select Any issue type.

カスタム フィールドの編集方法に関する詳細を確認する

フィールドは、すべてのタイプの課題に追加できます。対応する課題画面との関連付けは、自動的に生成されます。

次のステップ

フィールドのコンテキストを変更する場合は、「カスタム フィールドの設定」を参照してください。 

You can also find more custom fields from apps on the Atlassian Marketplace (for example, the Jira Toolkit). 

独自のカスタム フィールド タイプを構築するには、Jira 開発者向けドキュメントチュートリアルを参照してください。

tip/resting Created with Sketch.

Jira でカスタム フィールドを使用する機会をさらに見つけるには、Atlassian Marketplace から以下のいずれかのアプリを試してみてください。  

Reindexing Jira

Changes to custom fields affect Jira search index. After you make changes to any settings, you'll get the following message in the Administration view:

We recommend that you perform a re-index, as configuration changes were made to 'SECTION' by USER at TIME. If you have other changes to make, complete them first so that you don't perform multiple re-indexes

The message means that configuration changes have been made to Jira but haven't yet been reflected in the search index. Until Jira search index has been rebuilt, some search queries from Jira might return incorrect results. 

To avoid any discrepancies, you should rebuild Jira search index.

If you want to know after what actions with custom fields you need to re-index Jira, check Reindexing in Jira after configuring an instance for tips.

Learn more about other major configuration changes when Jira reindex is required

最終更新日 2023 年 4 月 24 日

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

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