製品をチェック

無償トライアル:

無償トライアルへ

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

Jira Service Desk JDBC Driver

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

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

お問い合わせ

NetBeans IDE でJira Service Desk データに仮想RDB として連携


データソース構成ウィザードを使ってNetBeans IDE でJira Service Desk に仮想DB として連携接続。




CData JDBC Driver for JiraServiceDesk は、JDBC をサポートするIDE にリアルタイムJira Service Desk データへの仮想DB 連携を実現します。JDBC 標準では、ビルトインのデータアクセスウィザードや、迅速な開発をサポートするその他のツールを使用できます。この記事では、NetBeans でJira Service Desk に接続する方法を説明します。接続を作成して[Table Editor]でJira Service Desk を編集および保存、 していきます。

NetBeans にJira Service Desk のJDBC データソースを作成

JDBC データソースを作成するには、[Service]ウィンドウの[Database]ノードを展開し、[Drivers]ノードを右クリックして[New Driver]を選択します。[New Driver]ウィザードが表示されたら、以下の情報を入力します:

  • Driver File(s):[Add]をクリックして、ファイルエクスプローラダイアログが表示されたらcdata.jdbc.jiraservicedesk.jar ファイルを選択。ドライバーのJAR はインストールディレクトリの[lib]サブフォルダ内にあります。
  • Driver Class:[Find]をクリックしてJAR 内のドライバークラスを検索し、cdata.jdbc.jiraservicedesk.JiraServiceDeskDriver をメニューから選択。
  • Name:ドライバーの名前を入力。
The JDBC driver definition. (Salesforce is shown.)

接続パラメータを定義

下記の手順に従って、必要な接続プロパティを定義します:

  1. [Service]ウィンドウで、[Database]ノードを右クリックし[New Connection]をクリックします。

  2. [New Connection]ウィザードで次の接続プロパティを入力します:

    • Driver Name:CData JDBC Driver for JiraServiceDesk を選択。
    • User Name:ユーザーネームを入力。JDBC URL でも定義できます。
    • Password:パスワードを入力。JDBC URL でも定義できます。
    • JDBC URL:JDBC URL を指定。

      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.

      以下は一般的なJDBC URL です:

      jdbc:jiraservicedesk:ApiKey=myApiKey;User=MyUser;
Required connection properties defined in the JDBC URL. (Salesforce is shown.)

リアルタイムJira Service Desk データをクエリ

Jira Service Desk に接続するには、[Database]ノードにある接続を右クリックし[Connect]をクリックします。接続が確立されたら、展開してスキーマ情報を見ることができます。

[Data Views]ウィンドウにテーブルをロードするには、テーブルを右クリックしてから[View Data]をクリックします。 [Data Views]ウィンドウではレコードの挿入、更新、および削除もできます。

The results of a query in NetBeans. (Salesforce is shown.)