本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →CData JDBC Driver for JiraServiceDesk は、JDBC をサポートするIDE にリアルタイムJira Service Desk データへの仮想DB 連携を実現します。JDBC 標準では、ビルトインのデータアクセスウィザードや、迅速な開発をサポートするその他のツールを使用できます。この記事では、NetBeans でJira Service Desk に接続する方法を説明します。接続を作成して[Table Editor]でJira Service Desk を編集および保存、 していきます。
JDBC データソースを作成するには、[Service]ウィンドウの[Database]ノードを展開し、[Drivers]ノードを右クリックして[New Driver]を選択します。[New Driver]ウィザードが表示されたら、以下の情報を入力します:
下記の手順に従って、必要な接続プロパティを定義します:
[Service]ウィンドウで、[Database]ノードを右クリックし[New Connection]をクリックします。
[New Connection]ウィザードで次の接続プロパティを入力します:
JDBC URL:JDBC URL を指定。
You can establish a connection to any Jira Service Desk Cloud account or Server instance.
To connect to a Cloud account, you'll first need to retrieve an APIToken. To generate one, log in to your Atlassian account and navigate to API tokens > Create API token. The generated token will be displayed.
Supply the following to connect to data:
To authenticate with a service account, you will need to supply the following connection properties:
Note: Password has been deprecated for connecting to a Cloud Account and is now used only to connect to a Server Instance.
By default, the connector only surfaces system fields. To access the custom fields for Issues, set IncludeCustomFields.
以下は一般的なJDBC URL です:jdbc:jiraservicedesk:ApiKey=myApiKey;User=MyUser;
Jira Service Desk に接続するには、[Database]ノードにある接続を右クリックし[Connect]をクリックします。接続が確立されたら、展開してスキーマ情報を見ることができます。
[Data Views]ウィンドウにテーブルをロードするには、テーブルを右クリックしてから[View Data]をクリックします。 [Data Views]ウィンドウではレコードの挿入、更新、および削除もできます。