• 製品
  • 使用を開始する
  • 関連ドキュメント
  • リソース

データベース ジョブを作成して設定する

Assets Data Manager for Jira Service Management Cloud is currently rolling out in Open Beta and will be available to all Premium + Enterprise sites by end of October 2024.

This task requires Data Manager Adapters admin permissions to complete. See how permissions and roles work in Data Manager.

 

データベース ジョブを作成する

To create a new job using a database file as a data source:

  1. 上部のナビゲーション バーで [Assets] を選択します。

  2. [アセットと構成管理] のタイトルで [データ マネージャー] を選択します。

  3. 左側のメニュー バーで [アダプター] を選択します。 これにより、[ アダプター] 画面の新しいタブが開きます。

  4. 左側のメニュー バーで [Create a new job (新しいジョブを作成)] を選択します。

  5. [一般] で [SQL] を選択します。

新しいジョブを作成したら、ジョブを正常に保存するために、必須 (*) フィールドへの入力をすべて完了する必要があります。

データベース ジョブを設定する

[SQL Configuration (SQL 設定)] 画面でデータ ソースの詳細を設定します。

  1. [名前] フィールドにジョブの名前を入力します。この名前は、アダプター クライアントを実行する際にジョブを識別するために使用されます。

  2. [有効] トグルが有効 (濃い青) に設定されていることを確認します。無効になっているジョブは実行できません。

  3. In the Object class field, select the Object Class destination for this data.

  4. In the Data Source Type field, select an existing data source or create a new data source type, below.

  5. In the Data Source Name field, enter a name for the Data Source that will be created when this job is run. This is typically the same as the Name, above.

  6. [接続タイプ] フィールドで [Microsoft SQL Server Native] または [Open Database Connectivity (ODBC)] のいずれかを選択します。

新しいジョブの作成時に新しいデータ ソース タイプを作成する

データ ソース タイプにはデータ ソースのグループに関する情報が含まれており、ジョブを作成する際にはデータ ソース タイプを選択する必要があります。データ ソース タイプを作成していない場合は、[SQL Configuration (SQL 設定)] 画面の [データ ソース] フィールドに入力して作成できます。

Microsoft SQL Server Native ソースを設定する

ソースとして [Microsoft SQL Server Native] を選択した場合は、データベースの詳細を設定します。

  1. [Database Address (データベース アドレス)] フィールドにデータベースのアドレスを入力します。

  2. [データベース名] フィールドにデータベースの名前を入力します。

  3. [Integrated Security (統合セキュリティ)] トグルを使用して、オン (統合セキュリティ) とオフ (非統合セキュリティ) を切り替えます。

  4. 上記の [Integrated Security (統合セキュリティ)] トグルをオフに設定した場合は、データベースへの接続権限を持つデータベース ユーザー名を入力する必要があります。

  5. 上記の [Integrated Security (統合セキュリティ)] トグルをオフに設定した場合は、データベースへの接続権限を持つデータベース パスワードを入力する必要があります。

The Database Username must be given read-only access to the database for this connection to work.

  1. Select Generate Connection String.

  2. データベースからレコードを取得するには、クエリを入力します。

Open Database Connectivity (ODBC) ソースを設定する

If you’ve selected a Open Database Connectivity (ODBC) source, configure further details about your database:

  1. Open the ODBC Datasource (If you are using the ATDA 64bit, open the ODBC 64bit version otherwise open the ODBC 32bit version).

  2. Configure the Open Database Connectivity (ODBC) source. There are 2 ways to use the ODBC connection. Make sure that the driver has been installed for whichever option you choose:

    1. Add a User DSN

      Add a User DSN and select the driver to create a new User Data Source Name 'DSN'. Usage:

      1 2 3 4 dsn=UserDataSourceName; dsn=UserDataSourceName; UID=UserId; PWD=Password;
    2. Write a connection string

      Write a connection string. Example:

      1 2 3 4 5 MSSQL: Driver="{SQL Server}";Server=ServerAddress;Database=DatabaseName;UID=User;PWD=Password; MSAccess: Driver="{Microsoft Access Driver (*.mdb)}; DBQ=C:\...mdb;UID=User;PWD=Password; Oracle: Driver="{Microsoft ODBC for Oracle};Server=OracleServer; UID=UserId;PWD=Password; MSExcel (.xls): provider=Microsoft.Jet.OLEDB.4.0;Data Source='C:\...xls';Extended Properties='Excel 8.0;HDR=No;IMEX=1;MAXSCANROWS=0;' MSExcel (.xlsx): Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\...xls;Extended Properties='Excel 12.0 Xml;HDR=No;IMEX=1;MAXSCANROWS=0;'`);

ジョブを保存する

必須フィールドへの入力がすべて完了し、データ ソースのすべての列をマッピングしたら、このジョブを保存できます。新しいジョブは [All Jobs (すべてのジョブ)] 画面に表示されるはずです。

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

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