本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →CData JDBC Driver for Jira Service Desk はダッシュボードや帳票ツールからリアルタイムJira Service Desk データへの連携を可能にします。この記事では、Jira Service Desk をJDBC データソースとして接続する方法と、Pentaho でJira Service Desk を元に帳票を作成する方法を説明します。
以下の手順でドライバーを新しいデータソースに設定します。[Data]>[Add Data Source]>[Advanced]>[JDBC (Custom)]とクリックし、新しいJira Service Desk 接続を作成します。ダイアログが表示されたら、次のように接続プロパティを設定します。
Custom Connection URL property:JDBC URL を入力。初めに以下を入力し jdbc:jiraservicedesk: 次にセミコロン区切りで接続プロパティを入力します。
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 の帳票を作成する準備が整いました。
帳票にJira Service Desk データソースを追加します:[Data]>[Add Data Source]>[JDBC]をクリックし、データソースを選択します。
クエリを設定します。この記事では次を使います:
SELECT RequestId, ReporterName FROM Requests WHERE CurrentStatus = 'Open'