We're updating our terminology in Jira

'Issue' is changing to 'work item'. You might notice some inconsistencies while this big change takes place.

アセットで JQL 関数を使用する

Jira Service Management のアセットは、Premium と Enterprise のみの機能です。アセットの詳細を見る

Assets supports the Jira Query Language (JQL) function aqlFunction, letting you query work items with object custom fields using Assets Query Language (AQL). This helps filter work items based on Assets data, like object attributes.

アセット クエリ言語 (AQL) の詳細

aqlFunction(aql)

構文

aqlFunction(aql)

サポートされるフィールド

アセット オブジェクト カスタム フィールド

サポートされる演算子

IS, IS NOT, IN, NOT IN

次の JQL の例では、customField というフィールドを使用して アセット オブジェクトのカスタム フィールドを表します (フィールドの名前は Jira 管理者によって定義されます)。

  • Find work items where a website is reported and where the customer account manager is Mathias Edblom:
    customField in aqlFunction("Customer.\"Account Manager\" = \"Mathias Edblom\"")

  • Find work items where an application is reported and where the application is installed on a virtual server:
    customField in aqlFunction("Host.Virtual = true")

オブジェクト スキーマで aqlFunction を使用したり、オブジェクト タイプを指定したりすると、パフォーマンスが向上します。たとえば、Jira Service Management SLA の計算におけるクエリの実行時間を短縮するには、オブジェクト タイプ名、スキーマ ID、またはオブジェクト キーを使用して AQL を制限します。

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

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