• 使用を開始する
  • 関連ドキュメント

IT 資産管理 (ITAM) の属性を作成する

Jira Service Management のアセットは、Premium と Enterprise のみの機能です。アセットの詳細についてはこちらをご確認ください。

このガイドの使用方法

This step-by-step guide will walk you through creating attributes and references in Assets.

Each step will include detailed instructions about how to use Assets in Jira Service Management, and also some tips and best practices about how to get the most out of this powerful feature when using it as part of your team’s IT Asset Management (ITAM) process.

このガイドには次の 2 種類の情報があります。

  • The headers with the blue background will help you get started in Assets. They will provide you with information about each step in the guide, including examples of data and how each feature can be used.

  • The text with the white background will give you a series of steps to help you navigate through Assets, or it will contain detailed information about an Assets concept.

他にも次のような情報があります。

  • Information in bold indicates text that you will find in Assets itself, such as the name of a menu option, a feature you can toggle on and off, or a button.

  • code の情報は、IT 資産管理 (ITAM) 用サンプル オブジェクト スキーマに含まれるテキストです。

  • Information in bold italics is a concept or idea that forms an important part of Assets.

属性を理解する

オブジェクト スキーマといくつかのオブジェクト タイプを作成したので、次はいくつかの属性でオブジェクトの詳細を入力します。

属性とは、オブジェクトの説明、そのモデル番号、関連する別のオブジェクト、またはオブジェクトの所有者として割り当てられたユーザーなど、そのオブジェクトに関連付けられた特定の情報のことです。

オブジェクトの作成時に表示される 4 つの既定の属性がすべてのオブジェクトに含まれています。

  1. Name – this text attribute is created by default. If you wish, you can configure the name of an object to be unique. Find out more about setting unique values. You can change which attribute contains the name of the object by selecting that attribute to be the label.

  2. Key – a unique identifier for this object. You cannot change the key after the object has been created. The object key is based on the object schema key, plus a unique identifying integer. If you are creating multiple objects, the keys of these objects may not always be sequential.

  3. Created – the date and time the object was created. This attribute cannot be modified.

  4. Updated – the date and time the object was last modified. This attribute is updated whenever an object or one of its attributes is changed.

属性は、テキスト値、数値、ステータス、その他のオブジェクトへの参照など、さまざまな種類の情報を保持できます。さらに、郵便番号、文字列の特定のパターン、特定のタイプのオブジェクト、必須値など、非常に特殊な情報を保持するようにカスタマイズすることも可能です。さまざまな属性タイプの詳細をご確認ください。

属性タイプを作業する

属性は属性タイプによって記述され、各属性が保持できる情報の種類を決定します。

属性タイプによって、テキストや数字の情報、他のオブジェクトへの参照、ユーザーやグループ、プロジェクト、ステータス、Bitbucket リポジトリへのリンクなど、どのような情報を属性に保持できるかが決まります。

属性は、既定、オブジェクト、ユーザー、グループ、プロジェクト、ステータス、Bitbucket リポジトリの 7 つのグループに分けられます。

  • Default attribute types – contains a persistent value, such as a string of text, a number, or a URL. There are several subtypes:

    • Text – contains normal text such as Dell W385553 with a maximum length of 255 characters. Text attribute types can include a suffix. Learn more about suffixes. Text, email or URL attribute types can be configured with a regular expression. Learn more about validating attributes with a regular expression. Text attributes can be configured to be unique.Learn more about configuring a text attribute to be unique.

    • Boolean – contains a yes or no value, such as true. Can only contain a true or false value.

    • Integer – contains an integer number, such as 42, from a minimum value of -2,147,483,648 to a maximum value of +2,147,483,647. Integer attribute types can be configured to show the sum of other attributes. Learn more about configuring an integer or float attribute type to display a sum.

    • Float – contains a number with a decimal, such as 42.01. Float attribute types can be configured to show the sum of other attributes. Learn more about configuring an integer or float attribute type to display a sum.

    • Date – contains a date, such as 13/Feb/23. The date will be formatted and offset according to the language and time zone configured in your Atlassian account settings.

    • DateTime – contains a date and time, such as 13/Feb/23 4:06 AM. The date and time will be formatted and offset according to the language and time zone configured in your Atlassian account settings.

    • URL – the URL contains a URL field, such as www.google.com. Text, email or URL attribute types can be configured with a regular expression. Any URL attributes must start with the prefix http:// or htps://. Learn more about validating attributes with a regular expression.

    • Email – contains an email field, such as support@atlassian.com. Text, email or URL attribute types can be configured with a regular expression. Learn more about validating attributes with a regular expression.

    • Textarea – contains a larger section of text with a maximum of one million characters, including line breaks and formatting. You can use the Assets rich editor to customise the content.

    • Select – contains one or more text values that can be selected as discrete options, such as Laptop, Keyboard, and Server.

    • IP Address – contains an IP address (IPv4), such as 192.168.1.1..

  • Object attribute type – contain a reference to another object. For more information, see References. The maximum or minimum number of objects contained in this attribute type can be configured. Learn more about cardinality. You can also filter the possible objects that can be linked here using AQL. Learn more about filtering the value of references using AQL.

  • User attribute type – contains a link to a Jira user. Assets will automatically detect all Jira users that you have permission to view.

  • Group attribute type – contains a link to a Jira group. Assets will automatically detect all Jira groups that you have permission to view.

  • Project attribute type – contains a Jira project. Assets will automatically detect any project that your account has permission to access. Learn more about permissions.

  • Status attribute type – contains a status. Statuses are selected from a combined list of global and object-schema-specific statuses. The selected statuses will appear as options for this attribute; if no statuses are selected the entire list will be available.

  • Bitbucket attribute type – contains a link to a Bitbucket repository. Assets will automatically detect any repository your account has permission to access. Learn more about adding a Bitbucket repository to an attribute.

属性を作成する

以前のガイドで作成したオブジェクト タイプ - Hardware assets の新しい属性をいくつか作成しましょう。

Hardware assets は、子に属性が継承されるように設定されているため、親オブジェクト タイプで作成する新しい属性はすべて子オブジェクト タイプに渡されることを忘れないでください。

次のような属性を作成しましょう。それぞれに属性タイプが定義されています。

  1. Asset tag (既定/テキスト) には、IT 資産のラベルまたはタグが含まれます。

  2. Serial number (既定/テキスト) にはシリアル番号が含まれます。

  3. PO number (既定/テキスト)

  4. Invoice number (既定/テキスト)

  5. Lease contract (既定/テキスト)

  6. Maintenance contract (既定/テキスト) には、将来/現行の保守契約が含まれます。

  7. Purchase date (日時)

  8. Refresh date (日時)

  9. Last scan date (日時)

  10. Ownership type (選択)

  11. Owner group (テキスト)

  12. Device type (既定/選択)

  13. OS Version (既定/テキスト)

  14. Support group (既定/テキスト)

  15. Operational status (ステータス)

  16. Status (ステータス)

  17. Device type (選択)

しかし、その他の親オブジェクト タイプ - Models についてはどうでしょうか?これらに関する情報はかなり抽象的なため、オブジェクト タイプを作成したときに作成された 4 つの既定の属性のままにします。

  1. Key

  2. Name

  3. Created

  4. Updated

将来、必要に応じていつでも属性タイプを追加できます!

属性を作成するには、Jira 管理者としてログインするかオブジェクト スキーマ マネージャ権限を持っている必要があります。

アセットから次の手順を実行します。

  1. [オブジェクト スキーマ] を選択します。

  2. 関連するオブジェクト スキーマを選択します。

  3. 関連するオブジェクト タイプを選択します。

  4. [属性] を選択します。

  5. 属性のリストで、名前説明タイプタイプ値を入力します。

  6. [追加] を選択します。

子オブジェクト タイプの属性を作成する

次に、子オブジェクト タイプのみに固有の属性をいくつか追加しましょう。継承が有効になっている子オブジェクト タイプは、親の属性もすべて継承する点に注意してください。

Phone オブジェクト タイプには、次の 2 つの属性を追加します。

  1. IMEI (既定/テキスト)

  2. Phone number (既定/テキスト)

Server オブジェクト タイプには、別の属性 2 件を追加します。

  1. IP Address (既定/テキスト)

  2. Domain name (既定/テキスト)

親から継承された属性はアイコンでマークされ、そのオブジェクト タイプに固有の属性はマークされていないことがわかります。

次に、Models の子オブジェクト タイプに固有の属性を設定します。

Hardware models

  1. Category (オブジェクト/モデル カテゴリー)

  2. Model ID (既定/テキスト)

  3. Bar code (既定/テキスト)

  4. Description (既定/テキスト)

  5. Product information (既定/テキスト エリア)

  6. Unit Price (既定/整数)

  7. Status (既定/ステータス)

Model categories については新しいものを何も追加しません。

Software models については、ソフトウェアのバージョンに特定の属性を追加します。

  1. Version (既定/テキスト)

属性を作成するには、Jira 管理者としてログインするかオブジェクト スキーマ マネージャ権限を持っている必要があります。

アセットから次の手順を実行します。

  1. [オブジェクト スキーマ] を選択します。

  2. 関連するオブジェクト スキーマを選択します。

  3. 関連するオブジェクト タイプを選択します。

  4. [属性] を選択します。

  5. 属性のリストで、名前説明タイプタイプ値を入力します。

  6. [追加] を選択します。

参照を理解する

参照は、別のオブジェクトへのリンクを保持する、一意の属性タイプです。属性は別のオブジェクトへのリンクを保持しますが、オブジェクト自体は保持しません。

References are how we connect objects in Assets into a very useful web of information.

参照は、アセットにある 2 つの異なるオブジェクト間の接続です。アセットにある各オブジェクトは、直接的ではなく、他のオブジェクトへの参照を含む属性を介して、他の多数のオブジェクトに接続できます。

アセット オブジェクト スキーマには、膨大な数の参照を含められます。これによって、アセットはオブジェクトとその相互関係に関する豊富なコンテキストを提供できる強力なツールになります。

それぞれの参照は、あるオブジェクトと別のオブジェクトの属性との間のリンクであるため、アウトバウンド参照インバウンド参照の 2 つのタイプに分けられます。

アウトバウンド参照は現在のオブジェクトから別のオブジェクトを、インバウンド参照は別のオブジェクトから現在のオブジェクトを指すものです。参照の方向は相対的で、どのオブジェクトを検証するかによって変わります。

さらに、各参照には、2 つのオブジェクト間の関係タイプを表す参照型を設定できます。これは、「依存関係」、「リンク」、「置き換え先」、または任意のカスタム値のいずれかになり、複雑なネットワークを管理するために使用できる別のディメンションの詳細を提供します。

参照の追加

次に、Hardware assets オブジェクトと Models オブジェクトを接続する参照を 1 つ追加しましょう。こうすることでインベントリの各ハードウェアに関する情報を見つけることができますが、技術仕様や詳細を何度も複製することはありません。

We’ll call this reference Model Name and it will be of the object type Hardware models. We’ll connect the two with the Reference type Reference, which is one of the default reference types included with Assets.

参照を作成するには、Jira 管理者としてログインするか、オブジェクト スキーマ マネージャ権限を持っている必要があります。

アセットから次の手順を実行します。

  1. [オブジェクト スキーマ] を選択します。

  2. 関連するオブジェクト スキーマを選択します。

  3. 関連するオブジェクト タイプを選択します。

  4. [属性] を選択します。

  5. 属性のリストで、[名前] と [説明] を入力します。

  6. [タイプ] で [オブジェクト] を選択します。

  7. [タイプ値] で、参照するオブジェクト タイプを選択します。

  8. [追加値] で、この参照を接続する参照タイプを選択します。

  9. [追加] を選択します。

 

お疲れ様でした!

これで、オブジェクト スキーマに属性が追加され、一部の情報は継承によってオブジェクト タイプ間で共有され、その他の情報はオブジェクト タイプごとに固有になるように作成されました。

また、オブジェクト同士を接続するために非常に重要な参照も含まれています。

次に、ガイドの次のセクション「IT 資産管理 (ITAM) 用のオブジェクト スキーマの設定」に進みましょう。

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

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