カスタムフィールド(Custom Fields)
Jira Service Managementコネクターは、次のカードのカスタムフィールドをサポートしています。
サポート対象の一般的なカスタムフィールドの一覧については、Jiraサポートサイトの「リクエストタイプでサポートされているカスタムフィールドの一覧」を参照してください。
サポートされているフィールドとスキーマ
注:
カスタムフィールドがサポートされていない場合は、代わりにCAPIAカードを使用します。「カスタムAPIアクションカードを構築する」を参照してください。
特定のフィールドがサポートされているかどうかを確認するには、 Custom API Action(CAPIA)カードを使用してGET /rest/api/3/fieldを呼び出し、システムフィールドとカスタムフィールドのリストを取得します。特定のカスタムフィールドを名前またはIDで検索します。
結果を確認するときは、schema.typeとschema.itemの両方がサポートされているか確認することが重要です。 「出力例」を参照してください。
以下のschema.typeがサポートされています。
-
array -
string -
sd-asset -
attachment -
version -
user -
component -
option -
number -
datetime -
date -
option-with-child -
priority
schema.typeが配列の場合、以下のschema.itemがサポートされます。
-
string -
sd-asset -
attachment -
version -
user -
component -
option -
number -
datetime -
date
サポートされているスキーマの例
サポートされているschema.typeの例
{
"id": "customfield_10989",
"key": "customfield_10989",
"name": "Operational categorization",
...
"schema": {
"type": "option-with-child",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect",
"customId": 10989
}
}
サポートされている schema.type および schema.itemの例
{
"id": "customfield_107",
"key": "customfield_107",
"name": "Approvers",
...
"schema": {
"type": "array",
"items": "user",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
"customId": 107
}
}