自動化ルールとコンポーネントの新しい用語

自動化の「ルール」は「フロー」に、「コンポーネント」は「ステップ」になりました。この変更を行っている間、ドキュメントの一部に用語の不一致が発生する場合があります。自動化に関する最新情報の詳細をご確認ください。

数式スマート バリューの使用例

Check out how we use smart values in our Jira automation template library.

You can use math expressions as smart values to insert or set values of numeric custom fields. These can be used anywhere where a custom field can be edited, for example, the Create, Edit and Transition work item actions.

View the smart values available to insert and format numerical values.

数値型のカスタム フィールドでは式を使用して値を設定できます。

1 + 4 sets the field to "5"

別のフィールドで数式を使うには、以下の例を使って値を挿入します。

{{#=}}1 + 4{{/}} // more verbose but more obvious {{#math}}1 + 4{{/}} // increase a number by 1 {{#increment}}4{{/}}

数値フィールドを参照する

Jira の数値型カスタム フィールドを使用して計算を実行するには、計算式でフィールドをスマート バリューとして参照します。

{{#=}}3.2 * {{issue.My Number field}} + 43{{/}}

次の例を使用して、2 つのカスタム フィールドを追加できます。

{{#=}}{{issue.Sale Amount}} * {{issue.Discount}}{{/}}

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

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