数式フィールドを作成する

This feature is currently available as a beta experience. Some functionality might not yet be available in your Jira space. Read more about what’s coming

Formula fields enable you to display calculated data directly on your Jira work items. Instead of manually calculating numbers or tracking information in spreadsheets, you can create custom fields that automatically calculate and display data using fields within a work item. You can use formula fields in the List view, on the board, in JQL search, and in automations.

With formula fields, you can do things like:

  • 数値フィールドまたは整数の加算、減算、乗算、除算を行います。

  • 任意の数値フィールドの平均値、最大値、最小値、べき乗、絶対値を計算します。

  • 数値を指定した小数点以下の桁数で四捨五入するか、最も近い整数に四捨五入します。

  • Calculate remaining budgets and flag overspend on tasks.

  • Count the number of working days left until a work item’s due date, and show a different text output (like “due soon” or “overdue”) depending on how much time is left.

Rovo を使用すると、自然言語によって数式を簡単に記述できます。カスタム フィールドの作成時に [数式を生成] を選択するか、[数式を修正] を選択して無効な数式の修正案を取得します。

Managing formula fields in a team-managed space

チーム管理対象スペースで新しいフィールドを作成するには、スペース管理者権限が必要です。

Create a formula field via your space field settings

スペースのフィールド設定でフィールドを作成します。

  1. サイドバーに表示されるスペース名の横で [その他のアクション] () > [スペース設定] の順に選択します。

  2. サイドバーで [フィールド] を選択します。

  3. [フィールドを追加]、[新しいフィールドを作成] の順に選択します。

  4. [フィールド タイプ] ドロップダウンで、[数式] を選択します。

  5. フィールドの名前と説明を入力します。

  6. Select a formula output: either number, text, date, or duration.

  7. 数式を入力します。Rovo が有効になっている場合は、[数式を生成] を選択して、自然言語を使用して数式を作成できます。数式でサポートされているフィールドと関数のリストについては、こちらをご確認ください。

  8. Select Format to choose how to display the formula’s output (for example, you could show a duration as days or hours, or a number as a currency).

  9. [フィールドを作成] を選択して終了します。

Create a formula field from the List view

You can also create a field via the List view:

  1. From your space navigation, select List.

  2. Hover between two columns and select Add column (), then select Create another to open the Create field panel.

  3. [フィールド タイプ] ドロップダウンで、[数式] を選択します。

  4. フィールドの名前と説明を入力します。

  5. Enter a formula using the supported fields and functions for formulas, or select Generate formula to create a formula using natural language.

  6. Select Formula output to choose how to display the formula’s output.

  7. [フィールドを作成] を選択して終了します。

Create a field from a work item

作業項目からフィールドを作成することもできます。

  1. 任意の作業項目を選択します。

  2. [詳細] セクションで、[フィールドの編集] ()、[フィールドを作成] の順に選択します。

Edit a formula field in a team-managed space

数式フィールドを編集するには、次の手順に従います。

  1. サイドバーに表示されるスペース名の横で [その他のアクション] () > [スペース設定] の順に選択します。

  2. サイドバーで [フィールド] を選択します。

  3. 編集する数式を見つけて、[その他のアクション] ()、[フィールドを編集] の順に選択します。

  4. 数式を更新し、[保存] を選択します。

You can also edit a formula field from the List view:

  1. Find the column for the field you’d like to edit.

  2. Hover over the column header and select More actions ().

  3. Select Edit field.

Delete a formula field in a team-managed space

数式フィールドを削除するには、次の手順に従います。

  1. サイドバーに表示されるスペース名の横で [その他のアクション] () > [スペース設定] の順に選択します。

  2. サイドバーで [フィールド] を選択します。

  3. 削除する数式フィールドを見つけて、[アクション] ()、[フィールドを削除] の順に選択します。

  4. [フィールドを削除] を選択して確定します。

Managing formula fields in a company-managed space

Create a formula field via your admin settings

  1. Start in your Jira company-managed space.

  2. Select Settings () from the global navigation, then select Work items.

  3. Select Fields from the side navigation.

  4. Select Create new field.

  5. [フィールド タイプ] ドロップダウンで、[数式] を選択します。

  6. フィールドの名前と説明を入力します。

  7. In the Spaces dropdown, select All spaces to make the field available everywhere, or select a single space to restrict it. You can’t select more than one individual space.

  8. Select a Formula output (the default is Number, but you can change this to currency, percentage, duration, or text.)

  9. Enter a formula. If Rovo is enabled, you can select Generate formula to create a formula using natural language. View the list of supported fields and functions for formulas.

  10. Select Format to choose how to display the formula’s output (for example, you could show a duration as days or hours, or a number as a currency.)

  11. Select Create to finish.

Edit or delete a formula field via your admin settings

  1. Start in your Jira company-managed space.

  2. Select Settings () from the global navigation, then select Work items.

  3. Select Fields from the side navigation.

  4. Find the field you want to update and select More actions (), then select either Edit field or Delete.

数式は、単一の作業項目内のデータのみを使用して実行できます。たとえば、作業項目 A の数式フィールドでは、作業項目 A にすでに表示されているコストの合計のみを計算できます。作業項目 B や C などのコストを計算することはできません。

さらにヘルプが必要ですか?

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