読み取り専用アセット カスタム フィールド
Read-only custom fields allow you to include information about objects in your issues. This information can only be viewed and can’t be edited.
例
An example of how you can use a read-only custom field is during employee offboarding. The custom field can display the employee's current assets in the offboarding issue, so you know what needs to be collected before they leave.
To create and configure read-only Assets custom fields, you must be logged in as a user with Jira Administrator or Jira System Administrator permissions.
読み取り専用カスタム フィールドの作成
- Go to Administration > Issues > Custom fields.
- Select Add custom field and then select Advanced.
- Search for Assets readonly object and select it.
- フィールドの名前と説明を入力します。
- カスタム フィールドを、Jira 内で希望する画面に関連付けます。
読み取り専用カスタム フィールドの設定
With your custom field created and associated with screens in Jira, you can now configure how it will behave.
[管理] > [課題] > [カスタム フィールド] の順に移動します。
- Find your custom field on the Custom fields page, and select More Configure > .
- [Edit Assets configuration (アセットの設定を編集)] を選択します。
- カスタム フィールドで使用する必要があるオブジェクト スキーマを選択します。
- Configure other settings. Check what they mean in the table below.
設定 | 説明 |
---|---|
範囲 | |
objectSchema | The object schema that the custom field should use. If you want this field to refer to specific objects, make sure you point to the right schema. |
フィルター スコープ (AQL) | The general filter for the custom field. Use AQL to specify which objects you want to show in this field. Learn more about AQL 例 If you want to show objects that belong to the “Computer” object type, use the following AQL:
If you want to show software that is created by Atlassian, try something like this:
|
フィルター割り当てスコープ (AQL) | This filter is used to automatically add objects to your custom field based on values in issue fields or another Assets custom field. To get the values from these fields, use placeholders. Learn more about placeholders 重要
例 If your custom field is filtered to show the “Computer” object type and you want to display the computer that is owned by the reporter of the issue, there are two AQL queries that you can use:
|
ユーザー相互作用 | |
課題ビューのオブジェクトの属性 | This is where you can specify which attributes of the object displayed in your custom field you want to show in the Jira issue. |
顧客のアクセスを有効にする
アセット カスタム フィールドを Jira Service Management に追加する際は、それらをカスタマー ポータルで有効にする必要があります。有効にしないと、カスタマーはこれらのフィールドにアクセスすることができません。カスタマー ポータルでアセット カスタム フィールドを有効にする方法の詳細は、こちらをご確認ください。