製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Jira Service Desk JDBC Driver

Jira Service Desk データに連携するJava アプリケーションを素早く、簡単に開発できる便利なドライバー。

データ連携でお困りですか?

お問い合わせ

Clover ETL からJira Service Desk データに連携


データ連携ツールのCloverETL のビジュアルワークフローでJira Service Desk データ連携を作成。


加藤龍彦
ウェブデベロッパー

jiraservicedesk ロゴ画像

JDBC Driver

jdbc ロゴ画像
CloverDX ロゴ画像

CData JDBC Driver for JiraServiceDesk は、CloverETL からJira Service Desk への作成、読み取り、更新、削除のCRUD コマンド 処理を実現します。本記事では、CloverETL でJDBC Driver を使い、Jira Service Desk をシンプルなCSV ファイルに変換します。

JDBC Data Source でJira Service Desk に接続

  1. Jira Service Desk データへの連携を作成します。CloverETL の新しいgraph で、Outline ペインのConnections ノードを右クリックして、Create Connection をクリックします。Database Connection ウィザードが表示されます。
  2. +アイコンをクリックして、.jar ファイルをロードします。インストールディレクトリのlib フォルダの cdata.jdbc.jiraservicedesk.jar ファイルを選択します。
  3. JDBC URL を入力します。一般的な接続文字列は: jdbc:jiraservicedesk:ApiKey=myApiKey;User=MyUser;

    You can establish a connection to any Jira Service Desk Cloud account or Server instance.

    Connecting with a Cloud Account

    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:

    • User: Set this to the username of the authenticating user.
    • APIToken: Set this to the API token found previously.

    Connecting with a Service Account

    To authenticate with a service account, you will need to supply the following connection properties:

    • User: Set this to the username of the authenticating user.
    • Password: Set this to the password of the authenticating user.
    • URL: Set this to the URL associated with your JIRA Service Desk endpoint. For example, https://yoursitename.atlassian.net.

    Note: Password has been deprecated for connecting to a Cloud Account and is now used only to connect to a Server Instance.

    Accessing Custom Fields

    By default, the connector only surfaces system fields. To access the custom fields for Issues, set IncludeCustomFields.

Required connection properties specified in the JDBC URL.(Salesforce is shown.)

DBInputTable コンポーネントで、Jira Service Desk データをクエリ

  1. DBInputTable をReaders セクションからドラッグし、ジョブフローに置きます。ダブルクリックして、設定エディタを開きます。
  2. DB コネクションプロパティで、Jira Service Desk JDBC をドロップダウンから選択します。
  3. SQL クエリを入力します。例: SELECT * FROM Requests

UniversalDataWriter でQuery のOutput を記述

  1. Writer セクションからUniversalDataWriter をドラッグして、ジョブフローに置きます。
  2. UniversalDataWriter をダブルクリックして、設定エディタを開き、ファイルURL を足します。
  3. DBInputTable をダブルクリックして、Extract Metadata をクリックします。
  4. DBInputTable のOutput ポートをUniversalDataWriter に接続します。
  5. UniversalDataWriter のSelect Metadata メニューでRequests テーブルを選択します。(UniversalDataWriter のInput ポートを右クリックしてメニューを開くことも可能です。)
  6. Run をクリックして、ファイルの書き込みを実行します。
A simple transfer to a flat file.