CData Sync App は、Jira データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Jira コネクタはCData Sync アプリケーションから使用可能で、Jira からデータを取得して、サポートされている任意の同期先に移動できます。
Sync App API のバージョン2と3を利用しています。これは内部で管理されており、追加の設定は必要ありません。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
接続するには、URL をJira のエンドポイントに設定します。例えば、https://yoursitename.atlassian.net です。
デフォルトでは、Sync App はシステムフィールドのみ表示します。Issues のカスタムフィールドにアクセスするには、IncludeCustomFields をtrue に設定するか、Sync App スキーマを拡張してカスタムフィールドへのアクセスを設定します。(カスタムフィールド を参照してください。)カスタムフィールドが含まれる場合、サーバーの応答時間が著しく遅くなることがありますのでご注意ください。
PAT は各ユーザーによって作成されます。作成されると、自動的にユーザーと同じパーミッションレベルになります。ユーザーはAtlassian Settings メニューから、またはREST API を使用してPAT を作成できます。
Atlassian アプリケーションから:
次に、以下のJira Sync App プロパティを設定します。
Note: PAT はREST API を使用して作成することもできます。詳しくは、https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html でJira のPAT 作成についてのドキュメントを参照してください。
以下の手順は、すべてのOAuth フローでAuthScheme がOAuth に設定されていることを前提としています。
AuthScheme をAPIToken に設定し、User およびAPIToken を設定することで、任意のJira Cloud アカウントへの接続を確立できます。
Cloud インスタンスへのベーシック認証には、API トークンが必要です。API トークンを生成するには、Atlassian アカウントにログインして[セキュリティ設定]->[API トークン]->[API トークンを作成する]をクリックします。生成されたトークンが表示されます。
AuthScheme をBasic に設定することで、任意のJira Server インスタンスへの接続を確立できます。Server インスタンスに接続するには、User およびPassword を指定します。
(Note:パスワードはCloud アカウントへの接続には非推奨となり、Server インスタンスへの接続にのみ使用されるようになりました。)
AuthScheme をLDAP に設定することで、任意のJira Server インスタンスへの接続を確立できます。追加で、Jira インスタンスのURL、User、およびPassword を指定します。
(Note:LDAP 認証は現在、Cloud アカウントではサポートされていません。)
AuthScheme をCrowd に設定します。Crowd への接続には、次の接続プロパティを使用します。
次は接続文字列の例です。
AuthScheme=Crowd;Url=https://yoursitename.atlassian.net;SSOLoginURL='https://<authority>/crowd/console/secure/saml/sso.action';User=crowdUserName;Password=crowdPassword;SSOExchangeUrl=https://<authority of Jira instance>/plugins/servlet/samlconsumer;SSOAppName=CrowdAppName;SSOAppPassword=CrowdAppPassword;
Okta に接続するには、AuthScheme をOkta に設定し、次のプロパティを設定します。
Okta クライアントリクエストコンテキストをオーバーライドする信頼されたアプリケーションまたはプロキシを使用する場合、またはMFA を設定している場合は、Okta を使用して認証するためにSSOProperties を組み合わせて使用する必要があります。必要に応じて、以下のいずれかを設定します。
接続文字列の例:
AuthScheme=Okta;Url=https://yoursitename.atlassian.net;SSOLoginURL='https://example.okta.com/home/appType/0bg4ivz6cJRZgCz5d6/46';User=oktaUserName;Password=oktaPassword;SSOExchangeUrl=https://<authority of Jira instance>/plugins/servlet/samlconsumer;
このセクションでは、Jira Sync App の高度な機能を厳選して説明します。
Sync App を使用すると、事前設定されたクエリによって内容が決定されるユーザー定義ビューと呼ばれる仮想テーブルを定義できます。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。 詳しくは、接続文字列オプションにあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
Sync App は、Jira にできるだけ多くのSELECT ステートメント処理をオフロードし、残りのクエリをクライアント側のインメモリで処理します。
詳しくはクエリ処理 を参照してください。
CData ログを調整するために使用可能な設定の概要については、ログ を参照してください。基本的なロギングでは、 次の2つの接続プロパティを設定するだけです。LogModules 接続プロパティを使用してログに記録する情報のサブセットを選択できる、 より洗練されたロギングをサポートする多数の機能があります。
デフォルトでは、Sync App はサーバーの証明書をシステムの信頼できる証明書ストアと照合してSSL / TLS のネゴシエーションを試みます。
別の証明書を指定するには、利用可能なフォーマットについてSSLServerCert プロパティを参照してください。
Jira Sync App はクライアント証明書の設定もサポートしています。次を設定すれば、クライアント証明書を使って接続できます。
Windows のシステムプロキシ経由の接続では、接続プロパティを追加で設定する必要はありません。他のプロキシに接続するには、ProxyAutoDetect をfalse に設定します。
さらにHTTP プロキシへの認証には、ProxyServer とProxyPort に加えてProxyAuthScheme、ProxyUser、およびProxyPassword を設定します。
次のプロパティを設定します。
Sync App は、Jira API をリレーショナルテーブル、ビュー、およびストアドプロシージャとしてモデル化します。これにより、Jira Cloud アカウントやJira Server インスタンスへのデータベースライクな接続が可能になります。
デフォルトでは、テーブルスキーマおよびビュースキーマは、Jira エンティティのシステムフィールドのカラム動作を記述します。システムフィールド同様、Issues のカスタムフィールド にアクセスするには、接続文字列のIncludeCustomFields を設定できます。
You can use the following properties to gain more control over column names:
デフォルトでは、テーブルスキーマおよびビュースキーマは、システムフィールドのカラム動作のみを記述します。システムフィールド同様Issues のカスタムフィールドにアクセスするには、接続文字列のIncludeCustomFields を設定できます。 スキーマを拡張してカスタムフィールドへのアクセスを設定することもできます。 次のセクションでは異なるタイプのカスタムフィールドを表示する方法について説明します。
IncludeCustomFields プロパティをTrue に設定して、すべてのカスタムフィールドへのアクセスを公開します。
すべてのカスタムフィールドを公開することにより、パフォーマンスのオーバーヘッドが発生することに注意してください。これが目的のユースケースを実現する上での障害となる場合は、カスタムスキーマフィールドを使用して、公開するメタデータを細かく制御できます。
カスタムスキーマは、利用可能なすべてのカスタムフィールドメタデータのサブセットへの接続を有効にすることにより、Sync App のパフォーマンスを向上させます。
テーブルスキーマおよびビュースキーマは、.rsd コンフィギュレーションファイルで定義されます。シンプルな形式でカスタマイズは簡単です。スキーマファイルを保存するには、例えばIncludeCustomFields 接続プロパティを設定した状態で、CreateSchema を呼び出します。または、このセクションの最後にあるIssues スキーマのサンプルを適用します。
カスタムスキーマに接続するには、Location プロパティをスキーマファイルを有するフォルダに設定します。Sync App に含まれるスキーマはインストールフォルダのdb サブフォルダにあります。
カラムはスキーマファイルのapi:info セクションで定義されています。カスタムフィールドカラムを作成するためのテンプレートとして、既存のどのカラム定義を使っても構いません。すべてのカラム定義は少なくとも名前とデータ型が必須です。
カスタムフィールドは次の追加パラメータが必須です:
次のセクションで、異なるタイプのカラムに必要な値にXPath を指定する例を示します。
次の例は、シンプルなデータ型を持つカスタムフィールドのカラム定義です。
<attr name="MyCustomField" xs:type="string" other:relativexpath="customfield_10002" other:urlname="customfield_10002" desc="My custom field." />
以下は、オブジェクト型カスタムフィールドのJSON 表現です。
"customfield_10001" : { "name" : "New name", "description" : "desc" }
次の例では、オブジェクト型のカスタムフィールドのフィールドをカラムとしてモデル化しています。
<attr name="MyCustomFieldName" xs:type="string" other:relativexpath="name" other:urlname="customfield_10001" desc="My custom field." />
<attr name="MyCustomFieldDesc" xs:type="string" other:relativexpath="description" other:urlname="customfield_10001" desc="My custom field." />
配列型のカスタムフィールドを表示するには、カスタムフィールドの定義で説明しているrelativexpath およびurlname プロパティに加えて、Sync App の処理操作にいくつか追加入力を渡す必要があります。api:set キーワードを使用して、次の変数を定義します。
以下は、Issues テーブルへのクエリの生のJSON レスポンスの配列型のカスタムフィールドの例です。Sync App のログ機能を使用して、JSON レスポンスを取得できます。Logfile をSync App が書き込み可能な場所に設定し、Verbosity を3 に設定します。
{ "expand": "schema,names", "startAt": 0, "maxResults": 50, "total": 43, "issues" : [{ "expand" : "operations,versionedRepresentations,editmeta,changelog,renderedFields", "id" : "10042", "self" : "https://cdatadev.atlassian.net/rest/api/2/issue/10042", "key" : "TEST-43", "fields" : { "customfield_1002" : [{ "description" : "MyCF", "id" : "10001", "created" : "2016-22-08", "author" : { "name" : "admin", "key" : "admin", } }, { "description" : "MyCF2", "id" : "10002", "created" : "2016-22-08", "author" : { "name" : "admin", "key" : "admin", } }, ... ] } ... ] }以下は、配列型のカスタムフィールドにネストされた値を表示するサンプルスキーマです。
<api:script xmlns:api="vhttp://apiscript.com/ns?v1">
<api:info title="CustomFieldSample" description="Custom field example.">
<attr name="IssueId" xs:type="string" other:absolutexpath="/json/issues/id" desc="The Id of the issue." other:urlname="id" references="Issues.Id" />
<attr name="IssueKey" xs:type="string" other:absolutexpath="/json/issues/key" desc="The key of the issue." other:urlname="key" references="Issues.Key" />
<attr name="CfId" xs:type="string" other:relativexpath="id" desc="The Id of the custom field." />
<attr name="CfDescription" xs:type="string" other:relativexpath="description" desc="The description of the custom field." />
<attr name="CfCreatedDate" xs:type="datetime" other:relativexpath="created" desc="The date the custom field was created." />
<input name="JQL" description="JQL(Jira Query Language) allows you to build structured queries." />
<input name="Rows@Next" description="This is used to page through multiple pages of results and should not be set manually." />
</api:info>
<!--XPath should stay the same. Do not change this. -->
<api:set attr="XPath" value="/json/issues" />
<!--Subrepeat elment XPath. Set this based on the custom field structure. -->
<api:set attr="SubRepeatElement" value="/json/issues/fields/customfield_10020"/>
<!--Choose a column that is in every custom field row. -->
<api:set attr="RepeatElement" value="CfId" />
<!--Required. Do not change this. -->
<api:set attr="IsSearch" value="true" />
<!--Set this to the name of the custom field plus the Id, separated by an underscore. -->
<api:set attr="JiraTableCode" value="customfield_10020" />
<api:script method="GET">
<api:call op="jiraadoSelect" output="out">
<api:push item="out" />
</api:call>
</api:script>
</api:script>
テーブルにはカスタムフィールド外のカラムも含まれています。absolutexpath カラムプロパティを使用してこれらを追加できます。このオプションのフィールドは、反復エレメントに相対的ではない絶対XPath を指定するために使用できます。
以下は、Issues テーブルのスキーマ例です。
<api:script xmlns:api="http://apiscript.com/ns?v1">
<api:info title="Issues" description="" other:isissues="true">
<attr name="Id" xs:type="int" key="true" readonly="true" description="The Id of the issue." other:urlname="id" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="id"/>
<attr name="Key" xs:type="string" columnsize="2000" readonly="true" description="The key of the issue." other:urlname="key" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="key"/>
<attr name="IssueTypeId" xs:type="string" columnsize="2000" readonly="false" description="The issue type Id." other:urlname="issuetype" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/issuetype/id"/>
<attr name="IssueTypeName" xs:type="string" columnsize="2000" readonly="true" description="The issue type name." other:urlname="issuetype" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/issuetype/name"/>
<attr name="ProjectId" xs:type="string" columnsize="2000" readonly="false" description="The project Id of the issue." other:urlname="project" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/project/id"/>
<attr name="ProjectName" xs:type="string" columnsize="2000" readonly="true" description="The project name of the issue." other:urlname="project" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/project/name"/>
<attr name="ProjectKey" xs:type="string" columnsize="2000" readonly="false" description="The project key of the issue." other:urlname="project" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/project/key"/>
<attr name="ResolutionId" xs:type="string" columnsize="2000" readonly="false" description="The resolution Id of the issue." other:urlname="resolution" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/resolution/id"/>
<attr name="ResolutionName" xs:type="string" columnsize="2000" readonly="false" description="The resolution name of the issue." other:urlname="resolution" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/resolution/name"/>
<attr name="ResolutionDescription" xs:type="string" columnsize="2000" readonly="true" description="The resolution description of the issue." other:urlname="resolution" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/resolution/description"/>
<attr name="ResolutionDate" xs:type="datetime" readonly="false" description="The resolution date of the issue." other:urlname="resolutiondate" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/resolutiondate"/>
<attr name="Workratio" xs:type="long" readonly="false" description="The work ratio of the issue." other:urlname="workratio" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/workratio"/>
<attr name="LastViewed" xs:type="datetime" readonly="true" description="The last time that the issue was viewed." other:urlname="lastViewed" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/lastViewed"/>
<attr name="WatchCount" xs:type="int" readonly="true" description="The number of watches of the issue." other:urlname="watches" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/watches/watchCount"/>
<attr name="IsWatching" xs:type="bool" readonly="false" description="Whether the currently authenticated user is watching the issue." other:urlname="watches" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/watches/isWatching"/>
<attr name="Created" xs:type="datetime" readonly="true" description="The creation date of the issue." other:urlname="created" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/created"/>
<attr name="PriorityId" xs:type="string" columnsize="2000" readonly="false" description="The priority Id of the issue." other:urlname="priority" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/priority/id"/>
<attr name="PriorityName" xs:type="string" columnsize="2000" readonly="true" description="The priority name of the issue." other:urlname="priority" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/priority/name"/>
<attr name="TimeSpentSeconds" xs:type="long" readonly="true" description="The time spent in seconds on the issue." other:urlname="timespent" other:aggregate="" other:supportedoperators="" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/timeSpentSeconds"/>
<attr name="TimeSpent" xs:type="string" columnsize="2000" readonly="true" description="The time spent on the issue." other:urlname="timespent" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/timeSpent"/>
<attr name="TimeRemainingEstimateSeconds" xs:type="long" readonly="true" description="The time estimate in seconds of the issue." other:urlname="timeestimate" other:aggregate="" other:supportedoperators="" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/remainingEstimateSeconds"/>
<attr name="TimeRemainingEstimate" xs:type="string" columnsize="2000" readonly="false" description="The time estimate of the issue." other:urlname="timeestimate" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/remainingEstimate"/>
<attr name="TimeOriginalEstimateSeconds" xs:type="long" readonly="true" description="The original time estimate in seconds of the issue." other:urlname="timeoriginalestimate" other:aggregate="" other:supportedoperators="" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/originalEstimateSeconds"/>
<attr name="TimeOriginalEstimate" xs:type="string" columnsize="2000" readonly="false" description="The original time estimate of the issue." other:urlname="timeoriginalestimate" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="timetracking" other:insertfield="" other:relativexpath="fields/timetracking/originalEstimate"/>
<attr name="AggregateTimeSpent" xs:type="long" readonly="true" description="The aggregate time spent of the issue." other:urlname="aggregatetimespent" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/aggregatetimespent"/>
<attr name="AggregateTimeOriginalEstimate" xs:type="long" readonly="true" description="The original aggregate time estimate of the issue." other:urlname="aggregatetimeoriginalestimate" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/aggregatetimeoriginalestimate"/>
<attr name="AggregateTimeEstimate" xs:type="long" readonly="true" description="The aggregate time estimate of the issue." other:urlname="aggregatetimeestimate" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/aggregatetimeestimate"/>
<attr name="AssigneeDisplayName" xs:type="string" columnsize="2000" readonly="true" description="Assignee display name." other:urlname="assignee" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/assignee/displayName"/>
<attr name="AssigneeKey" xs:type="string" columnsize="2000" readonly="false" description="The assignee key of the issue." other:urlname="assignee" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/assignee/key"/>
<attr name="AssigneeName" xs:type="string" columnsize="2000" readonly="true" description="The assignee name of the issue." other:urlname="assignee" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/assignee/name"/>
<attr name="AssigneeEmail" xs:type="string" columnsize="2000" readonly="true" description="The assignee email of the issue." other:urlname="assignee" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/assignee/emailAddress"/>
<attr name="Updated" xs:type="datetime" readonly="true" description="The updated date of the issue." other:urlname="updated" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/updated"/>
<attr name="StatusId" xs:type="string" columnsize="2000" readonly="false" description="The status Id of the issue." other:urlname="status" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/status/id"/>
<attr name="StatusName" xs:type="string" columnsize="2000" readonly="true" description="The status name of the issue." other:urlname="status" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/status/name"/>
<attr name="Description" xs:type="string" columnsize="2000" readonly="false" description="The description of the issue." other:urlname="description" other:aggregate="" other:supportedoperators="LIKE,NOT LIKE,IS,IS NOT" other:fieldname="" other:insertfield="" other:relativexpath="fields/description"/>
<attr name="Summary" xs:type="string" columnsize="2000" readonly="false" description="The summary of the issue." other:urlname="summary" other:aggregate="" other:supportedoperators="LIKE,NOT LIKE,IS,IS NOT" other:fieldname="" other:insertfield="" other:relativexpath="fields/summary"/>
<attr name="CreatorDisplayName" xs:type="string" columnsize="2000" readonly="true" description="Issue creator display name." other:urlname="creator" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/creator/displayName"/>
<attr name="CreatorName" xs:type="string" columnsize="2000" readonly="true" description="The creator name of the issue." other:urlname="creator" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/creator/name"/>
<attr name="CreatorKey" xs:type="string" columnsize="2000" readonly="true" description="The creator key of the issue." other:urlname="creator" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/creator/key"/>
<attr name="CreatorEmail" xs:type="string" columnsize="2000" readonly="true" description="The creator email of the issue." other:urlname="creator" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/creator/emailAddress"/>
<attr name="ReporterDisplayName" xs:type="string" columnsize="2000" readonly="true" description="Issue reporter display name." other:urlname="reporter" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/reporter/displayName"/>
<attr name="ReporterName" xs:type="string" columnsize="2000" readonly="true" description="The reporter name of the issue." other:urlname="reporter" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/reporter/name"/>
<attr name="ReporterKey" xs:type="string" columnsize="2000" readonly="true" description="The reporter key of the issue." other:urlname="reporter" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/reporter/key"/>
<attr name="ReporterEmail" xs:type="string" columnsize="2000" readonly="true" description="The reporter email of the issue." other:urlname="reporter" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/reporter/emailAddress"/>
<attr name="Environment" xs:type="string" columnsize="2000" readonly="true" description="Search for issues where the environment contains particular text." other:urlname="reporter" other:aggregate="" other:supportedoperators="LIKE,NOT LIKE,IS,IS NOT" other:fieldname="" other:insertfield="" other:relativexpath="fields/environment"/>
<attr name="SecurityLevel" xs:type="string" columnsize="2000" readonly="true" description="Search for issues with a particular security level." other:urlname="reporter" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/security/name"/>
<attr name="AggregateProgress" xs:type="long" readonly="true" description="The aggregate progress of the issue." other:urlname="aggregateprogress" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/aggregateprogress/progress"/>
<attr name="TotalProgress" xs:type="long" readonly="true" description="The aggregate total progress of the issue." other:urlname="aggregateprogress" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/aggregateprogress/total"/>
<attr name="Votes" xs:type="int" readonly="true" description="Votes of the issue." other:urlname="votes" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/votes/votes"/>
<attr name="HasVotes" xs:type="bool" readonly="true" description="The vote status of the issue." other:urlname="votes" other:aggregate="" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/votes/hasVoted"/>
<attr name="DueDate" xs:type="datetime" readonly="false" description="The due date of the issue." other:urlname="duedate" other:aggregate="" other:supportedoperators="=,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/duedate"/>
<attr name="Labels" xs:type="string" columnsize="2000" readonly="false" description="The labels of an issue" other:urlname="labels" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN" other:fieldname="" other:insertfield="" other:relativexpath="fields/labels"/>
<attr name="FixVersionsAggregate" xs:type="string" columnsize="2000" readonly="false" description="The fix versions of the issue" other:urlname="fixVersions" other:aggregate="/json/issues/fields/fixVersions" other:supportedoperators="" other:fieldname="" other:insertfield="fixVersions" other:relativexpath="fields/fixVersions"/>
<attr name="ComponentsAggregate" xs:type="string" columnsize="2000" readonly="false" description="Search for issues that belong to a particular component of a project. You can search by component name or component Id." other:urlname="components" other:aggregate="/json/issues/fields/components" other:supportedoperators="" other:fieldname="" other:insertfield="" other:relativexpath="fields/components"/>
<input name="JQL" xs:type="string" columnsize="2000" description="JQL (Jira Query Language) allows you to build structured queries." other:supportedoperators="IS,IS NOT" />
<input name="Attachments" xs:type="string" columnsize="2000" description="Search for issues that have or do not have attachments. This column can be queried with IS EMPTY or IS NOT EMPTY." other:supportedoperators="LIKE,NOT LIKE" />
<input name="Comment" xs:type="string" columnsize="2000" description="Search for issues that have a comment that contains particular text." other:urlname="" other:aggregate="" other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN"/>
<input name="Category" xs:type="string" columnsize="2000" description="Search for issues that belong to projects in a particular category." other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN"/>
<input name="SprintId" xs:type="integer" columnsize="2000" description="Search for issues that belongs to a specific sprint, by specifying the Id of the Sprint." other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN"/>
<input name="SprintName" xs:type="string" columnsize="2000" description="Search for issues that belongs to a specific sprint, by specifying the name of the Sprint." other:supportedoperators="=,!=,IS,IS NOT,IN,NOT IN"/>
<input name="Filter" xs:type="string" columnsize="2000" description="Search for issues of saved filters. This column can be queried with filter name or filter id." other:supportedoperators="=,!=,IN,NOT IN"/>
<input name="Rows@Next" desc="Identifier for the next page of results. Do not set this value manually." />
</api:info>
<api:script method="GET">
<api:call op="jiraadoSelect">
<api:push/>
</api:call>
</api:script>
<api:script method="POST">
<api:call op="jiraadoInsert">
<api:push/>
</api:call>
</api:script>
<api:script method="MERGE">
<api:call op="jiraadoUpdate">
<api:push/>
</api:call>
</api:script>
<api:script method="DELETE">
<api:call op="jiraadoDelete">
<api:push/>
</api:call>
</api:script>
</api:script>
Sync App はJira のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
Name | Description |
Attachments | Query, insert and delete the available Attachments in Jira. |
Boards | Query, insert and delete the agile Boards in Jira. |
Comments | Create, modify, delete and query the available Comment types in Jira. |
Issues | Create, modify, delete and query Issues in Jira. |
IssueTypes | Query the available Issue Types in Jira. |
ProjectComponents | Query, create, modify, and delete the available Components of a project in Jira. |
ProjectRoleActors | Query the actors who act in a role for specific projects in Jira. |
Projects | Query, update, insert and delete the available Projects in Jira. |
ProjectVersions | Query,create, modify and delete the available Versions of a project in Jira. |
RoleActors | Query the default actors for project roles in Jira. |
Roles | Query the available roles in Jira. |
Sprints | Query,create, modify and delete the agile Sprints in Jira. |
Users | Query the available Users in Jira. |
Workflows | Query the available Workflows in Jira. |
Worklogs | Create, modify, delete and query the available Worklogs in Jira. |
Query, insert and delete the available Attachments in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Attachments WHERE Id = 10003
課題の添付ファイルを取得します。
SELECT * FROM Attachments WHERE IssueId = '123'
添付ファイルを取得する課題のより複雑なフィルタリングには、JQL 疑似カラムを使用します。例えば、以下は1月7日以降に作成された課題の添付ファイルを取得します。
SELECT * FROM Attachments WHERE JQL = 'created > 2018-01-07'
課題に添付ファイルをアップロードします。
INSERT INTO Attachments (FilePath, IssueKey) VALUES ('C:/Users/User/Desktop/info.txt', 'SSFSF-1') INSERT INTO Attachments (ContentEncoded, Name, IssueKey) VALUES ('U29tZSBjb250ZW50IGhlcmU=', 'Uploaded File', 'SSFSF-1')
添付ファイルのID を指定して、課題にアップロードされた添付ファイルを削除します。
DELETE FROM Attachments WHERE Id = 10003
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | False | Common |
The Id of the attachment. | ||
IssueId [KEY] | Integer | False |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common |
The Id of the issue. |
IssueKey | String | False |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common |
The key of the issue. |
IssueCreatedDate | Datetime | False | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the attachment's issue was created. | |
IssueUpdatedDate | Datetime | False | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the attachment's issue was last updated. | |
Filename | String | False | Common |
The filename of the attachment. | ||
AuthorName | String | False | Common |
The name of the author of the attachment. | ||
AuthorDisplayName | String | False |
Users.DisplayName | Common |
The display name of the author of the attachment. | |
Created | Datetime | False | Common |
The creation date of the attachment. | ||
Size | Integer | False | Common |
The size of the attachment. | ||
MimeType | String | False | Common |
The MIME type of the attachment. | ||
Content | String | False | Common |
The URI of the actual attached file. | ||
Thumbnail | String | False | Common |
The thumbnail of the attachment. | ||
AuthorAccountId | String | False |
Users.AccountId | Cloud |
The account Id of the author of the attachment. | |
AuthorKey | String | False | Server |
The author key of the attachment. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
JQL | String |
JQL (Jira Query Language) allows you to build structured queries. |
FilePath | String |
The path of the file to insert. |
ContentEncoded | String |
BASE64 encoded content of the file to insert. |
Name | String |
The name of the file to upload. Also the file extension should be specified. |
Query, insert and delete the agile Boards in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。Sync App は他のフィルタをSync App 内で処理します。
サーバー側のフィルタを使用したクエリ例を次に示します。
SELECT * FROM Boards WHERE Id = 10022
その他のフィルタの使用:
SELECT * FROM Boards WHERE ProjectKeyOrId = 'QMTH' AND Type = 'scrum'
新しいボードを挿入するには、Name、Type、およびFilterId を指定する必要があります。
INSERT INTO Boards (Name, Type, FilterId) VALUES ('New board', 'scrum', 10200)
ボードを削除するには、Id を指定する必要があります。
DELETE FROM Boards WHERE Id = 130
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | True | = | Common |
The Id of the board. | |
Name | String | False | = | Common |
The name of the board. | |
Type | String | False | = | Common |
The type of the board. 使用できる値は次のとおりです。scrum, kanban, simple |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ProjectKeyOrId | String |
Filter the agile boards based on the project they are located in. |
FilterId | String |
ID of a filter that the user has permissions to view. Not supported for next-gen boards. |
Create, modify, delete and query the available Comment types in Jira.
このテーブルをクエリして、すべての課題にポストされたすべてのコメントを取得できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Comments
特定の課題にポストされたコメントを取得することもできます。
SELECT * FROM Comments WHERE IssueId = 10003
さらに、ORDER BY 句でCreated カラムを使用できます。
SELECT * FROM Comments WHERE IssueId = 10003 ORDER BY Created DESC
ログインユーザーとしてコメントをポストします。IssueId およびBody が必須です。
INSERT INTO Comments (IssueId, Body) VALUES ('10003', 'Test Comment')
コメントの内容のみが更新可能です。UPDATE にはIssueId も必要です。
UPDATE Comments SET Body = 'Updated Comment' WHERE Id = 10202 AND IssueId = 10003
Id およびIssueId を入力して、課題にポストされたコメントを削除します。
DELETE FROM Comments WHERE Id = 10202 AND IssueId = 10003
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | True | = | Common |
The Id of the comment. | |
IssueId [KEY] | Integer | False |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common |
The Id of the issue. |
IssueKey | String | False |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common |
The key of the issue. |
IssueCreatedDate | Datetime | True | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the comment's issue was created. | |
IssueUpdatedDate | Datetime | True | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the comment's issue was last updated. | |
AuthorDisplayName | String | True |
Users.DisplayName | Common |
The display name of the author who made the comment. | |
AuthorEmail | String | True |
Users.EmailAddress | Common |
The email address of the author who made the comment. | |
UpdateDisplayName | String | True |
Users.DisplayName | Common |
The display name of the author who changed the comment. | |
UpdateAuthorEmail | String | True |
Users.EmailAddress | Common |
The email address of the author who edited the comment. | |
Body | String | False | Common |
The body of the comment. | ||
RenderedBody | String | True | Common |
The rendered body of the comment. | ||
Created | Datetime | True | Common |
The date the comment was created. | ||
Updated | Datetime | True | Common |
The date the comment was updated. | ||
VisibilityType | String | False | Common |
The visibility type of the comment. | ||
VisibilityValue | String | False | Common |
The visibility value of the comment. | ||
AuthorAccountName | String | True | Server |
The name of the author who made the comment. | ||
AuthorAccountKey | String | True | Server |
The key of the author who made the comment. | ||
UpdateAuthorAccountKey | String | True | Server |
The Id of the author who edited the comment. | ||
UpdateAuthorAccountName | String | True | Server |
The name of the author who edited the comment. | ||
AuthorAccountId | String | True |
Users.AccountId | Cloud |
The name of the author who made the comment. | |
UpdateAuthorAccountId | String | True |
Users.AccountId | Cloud |
The Id of the author who edited the comment. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
JQL | String |
JQL (Jira Query Language) allows you to build structured queries. |
Create, modify, delete and query Issues in Jira.
このテーブルをクエリするときにカスタムフィールドのカラムと値(Sprint、Epic など)を動的に取得するためには、IncludeCustomFields 接続プロパティを'True' に設定する必要があります。
SQL とJQL (Jira Query Language) を使用して、Issues を検索できます。
SELECT * FROM Issues WHERE JQL = ' project = "New project" AND Status WAS "open" '
SELECT * FROM Issues WHERE ProjectId > 10001 OR Updated <= '2016/03/29 15:00'Sync App はJira API を使用して一部のフィルタを処理します。Sync App はクライアント側でSync App 内で他のフィルタを処理します。SupportEnhancedSQL をfalse に設定することで、クエリのクライアント側の実行をオフにできます。その場合、その他のカラムを参照する検索条件は一致しないデータを生成します。 例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Issues WHERE ProjectName = 'New project' AND JQL = ' status WAS "open" '
時間、日、週、分などを指定して、TimeSpent、OriginalEstimate、RemainingEstimate などの時間間隔のフィールドをフィルタリングします。
SELECT * FROM Issues WHERE RemainingEstimate = '1m 2d' AND TimeSpent = '3m 2w'
プロジェクトで新しい課題を作成します。挿入には、Project(ProjectId またはProjectKey を指定)、IssueType(IssueTypeId またはIssueTypeName を指定)、およびSummary が必要です。ProjectName を指定することもできますが、ProjectKey が属する値を見つけるためにサーバーへの追加リクエストが発生します。Project やIssueType によっては、さらに多くのフィールドが必要な場合があります。
INSERT INTO Issues (ProjectId, Summary, IssueTypeId, CustomField1) VALUES (10000, 'Desc from prod', 10100, 'test') INSERT INTO Issues (ProjectKey, Summary, IssueTypeName, CustomField1) VALUES ('PROD', 'Desc from prod', 'Task', 'test')
ID を入力して既存の課題の情報を更新します。
UPDATE Issues SET Summary = 'Desc FROM prod', CustomField1 = 'ValidValue' WHERE Id = '10003'
また、特定の課題の集計フィールドを変更することもできます。FixVersionsAggregate、AffectedVersionsAggregate、ComponentsAggregate、およびIssueLinksAggregate を変更できます。これらのカラムの特別な入力を使用して、課題の適切なフィールドを割り当て、削除、および更新できます。 プロバイダークエリで使用するには、Jira アプリケーションで先にオブジェクトを作成しておく必要があります。NOTE:IssuelinksAggregate フィールドは入力の要件がわずかに異なります。以下で概要を説明します。
修正バージョンを追加する構造:
{ "add": {"name":"example"} }
or
{ "add": {"id":"1234"} }
サンプルクエリ:
UPDATE Issues SET FixVersionsAggregate = '{"add":{"name":"extra"}}' WHERE Id = 19683
一度に追加できるオブジェクトは1つのみですが、set コマンドを使用すると、複数のオブジェクトを割り当てることができます。
重要:set コマンドは、以前のすべてのオブジェクトを上書きします。つまり、以前のエントリは破棄され、
set コマンドで指定されたオブジェクトのみが課題に保存されます。set コマンドの後ろには配列が必要です。
{ "set": [ {"name":"New Component 1"}, {"name":"Old Component 2"} ] }
or
{ "set": [ {"id":"1234"}, {"name":"Old Component 2"} ] }
サンプルクエリは次のようになります。
UPDATE Issues SET ComponentsAggregate = '{ "set": [ {"id":"1234"}, {"name":"Old Components 2"} ] }' WHERE Id = 19683
remove コマンドを使用して、エントリを一度に1つずつ削除することもできます。
{ "remove": {"name":"example"} }
or
{ "remove": {"id":"1234"} }
UPDATE Issues SET AffectedVersionsAggregate = '{"remove":{"name":"extra"}}' WHERE id = 19683
これらのコマンドは、新しい課題を挿入するときにも適用されます。
INSERT INTO Issues (ProjectId, Summary, IssueTypeId, FixVersionsAggregate) VALUES (10000, 'Desc from prod', 10100, '{"add":{"name":"Example1"}}')
INSERT INTO Issues (ProjectId, Summary, IssueTypeId, FixVersionsAggregate) VALUES (10000, 'Desc from prod', 10100, '{"set":[{"name":"Example1"}]}')
IssueLinksAggregate では'add' 操作のみがサポートされており、リンクのタイプおよびリンクの方向('outwardIssue' か'inwardIssue' のいずれか1つ)を指定する必要があります。
使用可能なリンクタイプはBlocks、RootCause、Relates、Duplicate、およびCloners です。
{ "add":
{ "outwardIssue":
{"key":"COB-15"},
"type":
{"name":"Cloners"}
}
}
or
{ "add":
{ "inwardIssue":
{"key":"FIL-78"},
"type":
{"name":"Blocks"}
}
}
INSERT INTO Issues (ProjectId, Summary, IssueTypeId, FixVersionsAggregate) VALUES (10000, 'Desc from prod', 10100, '{"add":{"outwardIssue":{"key":"COB-15"},"type":{"name":"Cloners"}}}')
"UPDATE Issues SET IssuelinksAggregate = '{"add":{"inwardIssue":{"key":"FIL-1"},"type":{"name":"Blocks"}}}' WHERE Id = '22204'"
ID を指定して課題を削除します。完了していないサブタスクも削除されることに注意してください。
DELETE FROM Issues WHERE Id = '10003'
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Int | True | =,!=,>,>=,<,<=,IN,NOT IN | Common |
The Id of the issue. | |
Key | String | True | =,!=,>,>=,<,<=,IN,NOT IN | Common |
The key of the issue. | |
IssueTypeId | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The issue type Id. | |
IssueTypeName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The issue type name. | |
ProjectId | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The project Id of the issue. | |
ProjectName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The project name of the issue. | |
ProjectKey | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The project key of the issue. | |
ParentId | Int | False | =,!=,IN,NOT IN | Common |
The Id of the issue's parent if the issue is a subtask. | |
ParentKey | String | True | =,!=,IN,NOT IN | Common |
The key of the issue's parent if the issue is a subtask. | |
ParentIssueTypeId | String | True | Common |
The issue type id of the issue's parent. | ||
ParentIssueTypeName | String | True | Common |
The issue type name of the issue's parent. | ||
ParentStatusId | String | True | Common |
The status id of the issue's parent. | ||
ParentStatusName | String | True | Common |
The status name of the issue's parent. | ||
ResolutionId | String | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The resolution Id of the issue. | |
ResolutionName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The resolution name of the issue. | |
ResolutionDescription | String | True | Common |
The resolution description of the issue. | ||
ResolutionDate | Datetime | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The resolution date of the issue. | |
Workratio | Long | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The work ratio of the issue. | |
LastViewed | Datetime | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The last time that the issue was viewed. | |
WatchCount | Int | True | =,!=,>,>=,<,<=,IN,NOT IN | Common |
The number of watches of the issue. | |
IsWatching | Bool | True | Common |
Whether the currently authenticated user is watching the issue. | ||
Created | Datetime | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The creation date of the issue. | |
PriorityId | String | False | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The priority Id of the issue. | |
PriorityName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The priority name of the issue. | |
TimeSpentSeconds | Long | True | Common |
The time spent in seconds on the issue. | ||
TimeSpent | String | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The time spent on the issue. | |
RemainingEstimateSeconds | Long | True | Common |
The time estimate in seconds of the issue. | ||
RemainingEstimate | String | False | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The time estimate of the issue. | |
OriginalEstimateSeconds | Long | True | Common |
The original time estimate in seconds of the issue. | ||
OriginalEstimate | String | False | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The original time estimate of the issue. | |
AggregateTimeSpent | Long | True | Common |
The aggregate time spent of the issue. | ||
AggregateTimeOriginalEstimate | Long | True | Common |
The original aggregate time estimate of the issue. | ||
AggregateTimeEstimate | Long | True | Common |
The aggregate time estimate of the issue. | ||
AssigneeDisplayName | String | True | Common |
Assignee display name. | ||
AssigneeKey | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
[DEPRECATED] The assignee key of the issue. | |
AssigneeAccountId | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The assignee account id. | |
AssigneeName | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The assignee name of the issue. | |
AssigneeEmail | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The assignee email of the issue. | |
Updated | Datetime | True | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The updated date of the issue. | |
StatusId | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The status Id of the issue. | |
StatusName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The status name of the issue. | |
StatusCategoryId | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The status category id of the issue. | |
StatusCategoryKey | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The status category key of the issue. | |
StatusCategoryName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The status category name of the issue. | |
Description | String | False | IS,IS NOT | Common |
The description of the issue. | |
Summary | String | False | IS,IS NOT | Common |
The summary of the issue. | |
CreatorDisplayName | String | True | Common |
Issue creator display name. | ||
CreatorName | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The creator name of the issue. | |
CreatorAccountId | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The creator account id. | |
CreatorKey | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
[DEPRECATED] The creator key of the issue. | |
CreatorEmail | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The creator email of the issue. | |
ReporterDisplayName | String | True | Common |
Issue reporter display name. | ||
ReporterName | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The reporter name of the issue. | |
ReporterKey | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
[DEPRECATED]The reporter key of the issue. | |
ReporterAccountId | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The reporter account id. | |
ReporterEmail | String | True | =,!=,IS,IS NOT,IN,NOT IN | Common |
The reporter email of the issue. | |
AggregateProgress | Long | True | Common |
The aggregate progress of the issue. | ||
TotalProgress | Long | True | Common |
The aggregate total progress of the issue. | ||
Votes | Int | True | =,!=,>,>=,<,<=,IN,NOT IN | Common |
Votes of the issue. | |
HasVotes | Bool | True | Common |
The vote status of the issue. | ||
DueDate | Date | False | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The due date of the issue. | |
Labels | String | False | =,!=,IS,IS NOT,IN,NOT IN | Common |
The labels of an issue. | |
Environment | String | False | LIKE,NOT LIKE,IS,IS NOT | Common |
The environment of an issue. | |
SecurityLevel | String | False | =,!=,IS,IS NOT,IN, NOT IN | Common |
The security level of an issue. | |
FixVersionsAggregate | String | False | Common |
The fix versions of the issue | ||
ComponentsAggregate | String | False | Common |
Aggregate list of components included in the issue. | ||
IssueLinksAggregate | String | False | Common |
The issue links of the issue. | ||
AffectedVersionsAggregate | String | False | Common |
The affected versions of the issue. | ||
SubtasksAggregate | String | True | Common |
The subtasks of the issue. | ||
CustomField1 | Any | False | Common |
A custom field created for the Issues. The custom fields will be listed if the 'IncludeCustomFields' connection property is set to true. | ||
CustomField2 | Any | False | Common |
A custom field created for the Issues. The custom fields will be listed if the 'IncludeCustomFields' connection property is set to true. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
JQL | String |
JQL (Jira Query Language) allows you to build structured queries. |
Attachments | String |
Search for issues that have or do not have attachments. This column can be queried with IS EMPTY or IS NOT EMPTY. |
Comment | String |
Search for issues that have a comment that contains particular text. |
Category | String |
Search for issues that belong to projects in a particular category. |
SprintId | Integer |
Search for issues that belongs to a specific sprint, by specifying the Id of the Sprint. |
SprintName | String |
Search for issues that belongs to a specific sprint, by specifying the name of the Sprint. |
Filter | String |
Search for issues of saved filters. This column can be queried with filter name or filter id. |
Query the available Issue Types in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
SELECT * FROM IssueTypes WHERE Id = 3
挿入するにはName が必要です。次のクエリは、新しい課題タイプを作成します。
INSERT INTO IssueTypes (Name, Description, Subtask) VALUES ('Issue type name 3', 'test description', false)
課題タイプId を指定して更新できます。
UPDATE IssueTypes SET Name = 'Updated Name 3', Description = 'Updated description' WHERE Id = 10306
課題タイプId を指定して課題タイプを削除します。
DELETE FROM IssueTypes WHERE Id = 10306
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | String | True | = | Common |
The Id of the issue type. | |
Name | String | False | Common |
The name of the issue type. | ||
Description | String | False | Common |
The description of the issue type. | ||
Subtask | Boolean | False | Common |
The subtask of the issue type. Not applicable for update. | ||
IconUrl | String | True | Common |
The icon URL of the issue type. |
Query, create, modify, and delete the available Components of a project in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
各プロジェクトのコンポーネントを取得
SELECT * FROM ProjectComponents
コンポーネントのId 、またはコンポーネントが含まれているプロジェクトでフィルタリングすることもできます。
SELECT * FROM ProjectComponents WHERE Id = 10022
ProjectId の使用:
SELECT * FROM ProjectComponents WHERE ProjectId = 10027
ProjectKey の使用:
SELECT * FROM ProjectComponents WHERE ProjectKey = 'QMTH'
プロジェクトの新しいコンポーネントを作成します。ProjectKey およびName カラムが必須です。
INSERT INTO ProjectComponents (ProjectKey, Name, AssigneeType) VALUES ('COB', 'Testing Component', 'PROJECT_LEAD')
変更するコンポーネントのId カラムを指定して、プロジェクトコンポーネントを変更します。
UPDATE ProjectComponents SET LeadKey = 'newlead' WHERE Id = 10065
Id を指定して、プロジェクトのコンポーネントを削除します。
DELETE FROM ProjectComponents WHERE Id = 10065
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | True | = | Common |
The Id of the component. | |
ProjectId | Integer | True |
Projects.Id | =,IN | Common |
The selected project's id. |
ProjectKey | String | False | =,IN | Common |
The selected project's key. | |
Name | String | False | Common |
The name of the component. | ||
Description | String | False | Common |
The description of the component. | ||
LeadDisplayName | String | True | Common |
The display name of the component's lead. | ||
LeadKey | String | False | Common |
The key of the component's lead. | ||
AssigneeType | String | False | Common |
The type of the component's default assignee. 使用できる値は次のとおりです。PROJECT_DEFAULT, COMPONENT_LEAD, PROJECT_LEAD, UNASSIGNED | ||
AssigneeDisplayName | String | True | Common |
The display name of the component's default assignee. | ||
AssigneeKey | String | True | Common |
The key of the component's default assignee. | ||
IsAssigneeTypeValid | Boolean | True | Common |
Whether the assignee type is valid. |
Query the actors who act in a role for specific projects in Jira.
The Sync App will use the Jira API to process filters that refer to ProjectId, ProjectKey and RoleId while the rest of the filter is executed client side within the Sync App. The Jira APIs support filters using the equals (=) and IN operator with ProjectId, ProjectKey and RoleId. Note that either ProjectId, ProjectKey or RoleId must be specified with a comparison type of equals (=) for SELECT SQL statement.
For example, the following queries are processed server side:
Retrieve all actors for a specific project:
SELECT * FROM ProjectRoleActors WHERE ProjectId = '10650'
SELECT * FROM ProjectRoleActors WHERE ProjectKey = 'MYP'
Retrieve all actors for a specific role in all projects:
SELECT * FROM ProjectRoleActors WHERE RoleId = '10329'
Retrieve all actors for a specific project:
SELECT * FROM ProjectRoleActors WHERE RoleId = '10329' AND ProjectId = '10650'
Retrieve all actors for specific projects:
SELECT * FROM ProjectRoleActors WHERE RoleId = '10329' AND ProjectId IN ('10650', '10651', '10652')
Retrieve all actors for specific roles in a project:
SELECT * FROM ProjectRoleActors WHERE RoleId IN ('10329', '10330', '10331') AND ProjectId = '10650'
Add a user as an actor to a role in a specific project by specifying the user's account Id.
INSERT INTO ProjectRoleActors (ProjectId, RoleId, ActorUserAccountId) VALUES ('10650', '10329', '63acbf336f068efec8f6e0c3')
Add a group as an actor to a role in a specific project by either specifying the group's Id or name.
INSERT INTO ProjectRoleActors (ProjectId, RoleId, ActorGroupGroupId) VALUES ('10650', '10329', '0eed15e3-80cc-41d0-ba1a-b408658caf4d')
INSERT INTO ProjectRoleActors (ProjectId, RoleId, ActorGroupName) VALUES ('10650', '10329', 'JohnTest1')
Add a user as an actor to a role by specifying the project, role and user's name.
INSERT INTO ProjectRoleActors (ProjectId, RoleId, UserName) VALUES ('10000', '10101', 'myuser')
Add a group as an actor to a role by specifying the project, role and group's name.
INSERT INTO ProjectRoleActors (ProjectId, RoleId, GroupName) VALUES ('10000', '10101', 'test-group')
Delete an actor from a role by specifying the project, role and the user's account Id, the group's name or the group's Id.
DELETE FROM ProjectRoleActors WHERE ProjectId = '10650' AND RoleId = '10329' AND ActorUserAccountId = '63acbf336f068efec8f6e0c3'
DELETE FROM ProjectRoleActors WHERE ActorGroupGroupId = '0eed15e3-80cc-41d0-ba1a-b408658caf4d' AND ProjectId = '10650' AND RoleId = '10330'
DELETE FROM ProjectRoleActors WHERE ActorGroupName = 'JohnTest1' AND ProjectId = '10650' AND RoleId = '10330'
Delete a default actor from a role by specifying the user's name or the group's name.
DELETE FROM ProjectRoleActors WHERE ProjectId = '10000' AND RoleId = '10101' AND UserName = 'myuser'
DELETE FROM ProjectRoleActors WHERE ProjectId = '10000' AND RoleId = '10101' AND GroupName = 'test-group'
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | False | Common |
The ID of the role actor. | ||
DisplayName | String | False | Common |
The display name of the role actor. For users, depending on the user?s privacy setting, this may return an alternative value for the user's name. | ||
Type | String | False | Common |
The type of role actor. | ||
Name | String | False | Server |
The name of the role. | ||
AvatarUrl | String | False | Common |
The avatar of the role actor. | ||
ActorUserAccountId | String | False | Cloud |
Details of the user associated with the role. The account ID of the user, which uniquely identifies the user across all Atlassian products. | ||
ActorGroupName | String | False | Cloud |
Details of the group associated with the role. The name of the group. As a group's name can change, use of groupId is recommended to identify the group. | ||
ActorGroupDisplayName | String | False | Cloud |
Details of the group associated with the role. The display name of the group. | ||
ActorGroupGroupId | String | False | Cloud |
Details of the group associated with the role. The ID of the group. | ||
RoleId | Long | False |
Roles.Id | =,IN | Common |
The Id of the role. |
ProjectId | Integer | False |
Projects.Id | =,IN | Common |
The Id of the project associated with the role. |
ProjectKey | String | False |
Projects.Key | =,IN | Common |
The key of the project associated with the role. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
UserName | String |
Server platform only. Input for Insert and Delete statements. Details of the user associated with the role. The name of the user. |
GroupName | String |
Server platform only. Input for Insert and Delete statements. Details of the group associated with the role. The name of the group. |
Query, update, insert and delete the available Projects in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Projects WHERE Id = 10000
挿入には、Key、Name、LeadName、およびProjectTypeKey が必要です。次のクエリは、新しいプロジェクトを作成します。
INSERT INTO Projects (Key, Name, LeadName, ProjectTypeKey, Description) VALUES ('EXE4', 'Inserted Project 4', 'admin', 'business', 'New business project.')
Id かKey のいずれかを指定して更新できます。
UPDATE Projects SET Description = 'Updated description', AssigneeType = 'UNASSIGNED', LeadName = 'admin2' WHERE Key = 'EXE4'
Id かKey のいずれかを指定してプロジェクトを削除できます。
DELETE FROM Projects WHERE Key = 'EXE4'
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Int | True | = | Common |
The Id of the project. | |
Key | String | False | = | Common |
The key of the project. | |
Name | String | False | Common |
The name of the project. | ||
Description | String | False | Common |
The description of the project. | ||
LeadEmailAddress | String | True |
Users.EmailAddress | Common |
The email address of the project lead. | |
LeadDisplayName | String | True |
Users.DisplayName | Common |
The display name of the project lead. | |
ComponentsAggregate | String | True | Common |
The components of the project. | ||
IssueTypesAggregate | String | True | Common |
The issue types of the project. | ||
Url | String | True | Common |
The URL of the project. | ||
String | True | Common |
The email of the project. | |||
AssigneeType | String | False | Common |
The assignee type of the project. | ||
VersionsAggregate | String | True | Common |
The versions of the project. | ||
RolesAggregate | String | True | Common |
The roles of the project. | ||
ProjectKeysAggregate | String | True | Common |
The project keys of the project. | ||
ProjectCategoryId | String | False | Common |
The Id of the project category. | ||
ProjectCategoryName | String | True | Common |
The name of the project category. | ||
ProjectCategoryDescription | String | True | Common |
The description of the project category. | ||
ProjectTypeKey | String | False | Common |
The key of the project type. Not applicable for update. | ||
LeadAccountId | String | False |
Users.AccountId | Cloud |
The Id of the project lead. | |
LeadAccountKey | String | True |
Users.Key | Server |
The Key of the project lead. | |
LeadAccountName | String | False |
Users.Name | Server |
The user name of the project lead. | |
Simplified | Boolean | True | Cloud |
Whether the project is team-managed or not. |
Query,create, modify and delete the available Versions of a project in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。Sync App は他のフィルタをSync App 内で処理します。 例えば、次のクエリはサーバー側で処理されます。
すべてのプロジェクトのバージョンを取得:
SELECT * FROM ProjectVersions
Id、ProjectKey、またはProjectId でフィルタをかけることもできます。次に例を示します。
SELECT * FROM ProjectVersions WHERE Id = 10022
ProjectId の使用:
SELECT * FROM ProjectVersions WHERE ProjectId = 10022
ProjectKey の使用:
SELECT * FROM ProjectVersions WHERE ProjectKey = 'QMTH'
プロジェクト全体で使用する新しいバージョンを作成します。Name と、ProjectId またはProjectKey いずれかのカラムが必須です。
INSERT INTO ProjectVersions (ProjectId, Name, Description, ReleaseDate, StartDate) VALUES ('10000', 'HR Component', 'Example version description', '2018-04-04', '2018-02-02')
変更するバージョンのId カラムを指定して、プロジェクトバージョンを変更します。
UPDATE ProjectVersions SET Released = 'true' WHERE Id = 10065
Id カラムを指定して、プロジェクトのバージョンを削除します。
DELETE FROM ProjectVersions WHERE Id = 10065
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | True | = | Common |
The Id of the version. | |
ProjectId | Integer | False |
Projects.Id | =,IN | Common |
The selected project's id. |
ProjectKey | String | False | =,IN | Common |
The selected project's key. | |
Name | String | False | Common |
The name of the version. | ||
Description | String | False | Common |
The description of the version. | ||
Released | Boolean | False | Common |
Whether the version has been released. | ||
ReleaseDate | Date | False | Common |
Release date of the version. | ||
StartDate | Date | False | Common |
Optional start date of the version. | ||
UserStartDate | Date | False | Common |
The date on which work on this version is expected to start. | ||
UserReleaseDate | Date | False | Common |
The date on which work on this version is expected to finish. | ||
Overdue | Boolean | True | Common |
Whether the version is overdue for release. | ||
Archived | Boolean | False | Common |
Whether the version has been archived. When a new version is created, this field is always set to False. |
Query the default actors for project roles in Jira.
The Sync App will use the Jira API to process filters that refer to RoleId while the rest of the filter is executed client side within the Sync App. The Jira APIs support filters using the equals (=) and IN operator with RoleId.
For example, the following queries are processed server side:
Retrieve all the default actors for all roles:
SELECT * FROM RoleActors
Retrieve all the default actors for a specific role:
SELECT * FROM RoleActors WHERE RoleId = '10002'
Add a user as a default actor to a role by specifying the user's account Id.
INSERT INTO RoleActors (ActorUserAccountId, RoleId) VALUES ('63acbf336f068efec8f6e0c3', '10326')
Add a group as a default actor to a role by either specifying the group's Id or name.
INSERT INTO RoleActors (ActorGroupGroupId, RoleId) VALUES ('ad8da7e1-7b66-408e-a61c-c4c8383ca5d1', '10326')
INSERT INTO RoleActors (ActorGroupName, RoleId) VALUES ('testGroupName', '10326')
Add a user as a default actor to a role by specifying the user's key.
INSERT INTO RoleActors (RoleId, UserKey) VALUES ('10102', 'JIRAUSER10001')
Add a group as a default actor to a role by specifying the group's name.
INSERT INTO RoleActors (RoleId, GroupName) VALUES ('10102', 'test-group')
Delete a default actor from a role by specifying the RoleId and the user's account Id, the group's name or the group's Id.
DELETE FROM RoleActors WHERE RoleId = '10326' AND ActorUserAccountId = '63acbf336f068efec8f6e0c3'
DELETE FROM RoleActors WHERE RoleId = '10325' AND ActorGroupName = 'Developers'
DELETE FROM RoleActors WHERE RoleId = '10325' AND ActorGroupGroupId = '6dd7f7e1-77f0-4cd1-b8e1-a069830a8f1d'
Delete a default actor from a role by specifying the user's key or the group's name.
DELETE FROM RoleActors WHERE RoleId = '10102' AND UserKey = 'JIRAUSER10001'
DELETE FROM RoleActors WHERE RoleId = '10102' AND GroupName = 'test-group'
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | False | Common |
The ID of the role actor. | ||
DisplayName | String | False | Common |
The display name of the role actor. For users, depending on the user?s privacy setting, this may return an alternative value for the user's name. | ||
Type | String | False | Common |
The type of role actor. | ||
AvatarUrl | String | False | Common |
The avatar of the role actor. | ||
ActorUserAccountId | String | False |
Users.AccountId | Cloud |
Details of the user associated with the role. The account ID of the user, which uniquely identifies the user across all Atlassian products. | |
ActorGroupName | String | False |
Groups.Name | Cloud |
Details of the group associated with the role. The name of the group. As a group's name can change, use of groupId is recommended to identify the group. | |
ActorGroupDisplayName | String | False | Cloud |
Details of the group associated with the role. The display name of the group. | ||
ActorGroupGroupId | String | False |
Groups.Id | Cloud |
Details of the group associated with the role. The ID of the group. | |
Name | String | False | Server |
The name of the role. | ||
RoleId | Long | False |
Roles.Id | =,IN | Common |
The Id of the role. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
UserKey | String |
Server platform only. Input for Insert and Delete statements. Details of the user associated with the role. The key of the user. |
GroupName | String |
Server platform only. Input for Insert and Delete statements. Details of the group associated with the role. The name of the group. |
Query the available roles in Jira.
Sync App はJira API を使用してId を参照するフィルタを処理します。その他のフィルタはクライアント側でSync App 内部で処理されます。Jira API は、Id でイコール(=)演算子を使用するフィルタをサポートしています。
例えば、次のクエリはサーバー側で処理されます。
すべての利用可能なロールを取得する:
SELECT * FROM Roles
特定のロールを取得する:
SELECT * FROM Roles WHERE Id = '10002'
ロールId を指定して、ロールの名前と説明を更新します。
UPDATE Roles SET Description = 'test_updated', Name = 'test_updated' WHERE Id = 10002
Id を指定して、ロールを削除します。
DELETE FROM Roles WHERE Id = '10002'
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | False | = | Common |
The Id of the role. | |
Name | String | False | Common |
The name of the role. | ||
Description | String | False | Common |
The description of the role. | ||
Actors | String | False | Common |
The list of users who act in this role. | ||
Scope | String | False | Cloud |
The scope of the role. | ||
IsAdmin | Boolean | False | Cloud |
Whether this role is the admin role for the project. | ||
IsDefault | Boolean | False | Cloud |
Whether this role is the default role for the project. |
Query,create, modify and delete the agile Sprints in Jira.
Jira アカウントのSprints のリストを取得するには、BoardSprints ビューをクエリできます。
Sync App はJira API を使用して一部のフィルタを処理します。Sync App はその他のフィルタをクライアント側で内部で実行します。例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Sprints WHERE Id = 122 SELECT * FROM Sprints WHERE Id IN ('1', '2', '3')
新しいスプリントを作成して、ボードにリンクします。新しいスプリントの挿入には、OriginBoardId およびName カラムが必須です。
INSERT INTO Sprints (OriginBoardId, Name, Goal, StartDate, EndDate) VALUES ('1', 'Inserted Sprint', 'Complete target', '2018-02-02', '2018-04-04')
スプリントのId を指定してスプリントを変更します。
UPDATE Sprints SET State = 'active' WHERE Id = 305
Id を指定して、スプリントを削除します。
DELETE FROM Sprints WHERE Id = 305
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | True | =,IN | Common |
The Id of the sprint. | |
Name | String | False | Common |
The name of the sprint. | ||
State | String | False | Common |
The state of the sprint. A newly created sprint starts in the 'future' state. The state can only transition from 'future' to 'active', and from 'active' to 'closed' 使用できる値は次のとおりです。future, active, closed | ||
Goal | String | False | Common |
The goal assigned for the sprint. | ||
OriginBoardId | Integer | False |
Boards.Id | = | Common |
The board Id the sprint originated from. This field cannot be updated |
StartDate | Datetime | False | Common |
The date when the sprint was started. | ||
EndDate | Datetime | False | Common |
The date when the sprint has ended. | ||
CompleteDate | Datetime | True | Common |
The date when the sprint was completed. |
Query the available Users in Jira.
Name、DisplayName、およびEmailAddress を一度に1つずつ指定します。
Jira はこれらのカラムに基づいたフィルタをActive またはIncludeInactive カラムと組み合わせてサポートします。例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Users WHERE Name LIKE '%John%' AND Active = false AND IncludeInactive = true
GroupName もしくはGroupId を指定して、特定のグループに属するユーザーをクエリします。
SELECT * FROM Users WHERE GroupName = 'Testing team' SELECT * FROM Users WHERE GroupId = '3dd7e7a1-77f7-4ac1-b8e1-a069830a7f1d'
すべてのグループとそのメンバーのリストを取得することもできます。
SELECT * FROM Users WHERE GroupName IN (SELECT Name FROM Groups)
IssueKey およびProjectKey 疑似カラムを使用して、特定の課題またはプロジェクト内の任意の課題を閲覧できるユーザーを検索します。
SELECT * FROM Users WHERE IssueKey = 'PRJ-1' SELECT * FROM Users WHERE ProjectKey = 'PRJ'
INSERT INTO Users(EmailAddress) VALUES ('me@example.com')
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
GroupName | String | True | =,IN | Common |
The name of the group the user is part of. | |
GroupId | String | True | =,IN | Common |
The Id of the group the user is part of. | |
DisplayName | String | False | = | Common |
The display name of the user. | |
EmailAddress | String | False | = | Common |
The email address of the user. | |
Active | Bool | True | Common |
Indicates whether the user is active. | ||
TimeZone | String | True | Common |
The time zone specified in the user's profile. | ||
Locale | String | True | Common |
The locale of the user. | ||
AccountId [KEY] | String | True | Cloud |
The accountId of the user, which uniquely identifies the user across all Atlassian products. | ||
AccountType | String | False | Cloud |
The accountType of the user. | ||
Products | String | False |
A delimited string of jira products to which the user has access to, ex: jira-core,jira-servicedesk,jira-product-discovery,jira-software | |||
Key [KEY] | String | True | Server |
The key of the user. | ||
Name | String | False | Server |
The name of the user. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
IssueKey | String |
Search for users who can browse a specific issue. |
ProjectKey | String |
Search for users who can browse any issue in a project. |
Query the available Workflows in Jira.
Most filters are processed client side, though there are a few exceptions to this:
For example, the following queries are executed server side:
SELECT * FROM Workflows WHERE Name = 'abc'
SELECT * FROM Workflows WHERE Name IN ('abc','def','ghi')
SELECT * FROM Workflows WHERE IsActive = true AND Query = 'flow'
The Scope, Statuses, and Workflows columns accept aggregate values and are only used for inserting to and updating Workflows.
INSERT INTO Workflows(Scope, Statuses, Workflows) VALUES ('{"type":"GLOBAL"}', '[{"description":"","name":"To Do #2","statusCategory":"TODO","statusReference":"f0b24de5-25e7-4fab-ab94-63d81db6c0c0"}]', '[{"description":"","name":"Software workflow 1","startPointLayout":{"x":-100.00030899047852,"y":-153.00020599365235},"statuses":[{"layout":{"x":114.99993896484375,"y":-16},"properties":{},"statusReference":"f0b24de5-25e7-4fab-ab94-63d81db6c0c0"}],"transitions":[{"actions":[],"description":"","from":[],"id":"1","name":"Create","properties":{},"to":{"statusReference":"f0b24de5-25e7-4fab-ab94-63d81db6c0c0"},"triggers":[],"type":"INITIAL","validators":[]}]}]')", true)
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id | String | False |
The entity ID of the workflow. | |||
Name | String | False | IN |
The name of the workflow. | ||
Description | String | False |
The description of the workflow. | |||
Created | String | False |
The date when the workflow was created. | |||
Updated | String | False |
The date when the workflow was updated. | |||
IsDefault | Boolean | False |
Boolean indicating if the workflow is set as the default. | |||
CanDelete | Boolean | False |
Boolean indicating whether the workflow can be deleted. | |||
CanEdit | Boolean | False |
Boolean indicating whether the workflow can be edited. | |||
IsActive | Boolean | False | = |
Filters active and inactive workflows. | ||
Query | String | False | = |
String used to perform a case-insensitive partial match with workflow name. | ||
Scope | String | False |
A JSON aggregate outlining the scope of the workflow. This column used exclusively for inserting to and updating workflows (does not return in SELECT query results). | |||
Statuses | String | False |
A JSON aggregate outlining the statuses to associate with the workflows. This column used exclusively for inserting to and updating workflows (does not return in SELECT query results). | |||
Workflows | String | False |
The details of the workflows to create. This column used exclusively for inserting to and updating workflows (does not return in SELECT query results). |
Create, modify, delete and query the available Worklogs in Jira.
このテーブルをクエリして、Jira プロジェクトの作業ログを取得できます。Sync App は、Jira API を使用して次のカラムおよび演算子に基づいてフィルタを処理します。 Sync App は他のフィルタをクライアント側で実行します。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Worklogs WHERE IssueId = 10001
挿入には、IssueId、Started およびTimeSpentSeconds が必須です。次のクエリは、課題の作業完了を記録します。
INSERT INTO Worklogs (IssueId, Started, TimeSpentSeconds) VALUES (10003, '2017-03-20 20:00:00', 10000)
作業ログを変更するには、worklog Id とIssueId の両方が必要です。
UPDATE Worklogs SET TimeSpentSeconds = 200000 WHERE Id = 10602 AND IssueId = 10003
Id およびIssueId を入力して、課題の作業ログを削除します。
DELETE FROM Worklogs WHERE Id = 10602 AND IssueId = 10003
削除された作業ログのId を取得します。
GETDELETED FROM Worklogs
Name | Type | ReadOnly | References | SupportedOperators | Platform | Description |
Id [KEY] | String | True | = | Common |
The Id of the worklog. | |
IssueId [KEY] | Integer | False |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common |
The issue Id of the worklog. |
IssueKey | String | False |
Issues.Key | =,IN,NOT IN | Common |
The key of the issue. |
ProjectId | Integer | True |
Projects.Id | =,IS,IS NOT,IN,NOT IN | Common |
The project Id of the worklog's issue. |
ProjectName | String | True | =,IS,IS NOT,IN,NOT IN | Common |
The project name of the worklog's issue. | |
IssueCreatedDate | Datetime | True | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the worklogs's issue was created. | |
IssueUpdatedDate | Datetime | True | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the worklogs's issue was last updated. | |
AuthorDisplayName | String | True |
Users.DisplayName | =,!=,IS,IS NOT,IN,NOT IN | Common |
The display name of the author of the worklog. |
UpdateAuthorDisplayName | String | True |
Users.DisplayName | =,!=,IS,IS NOT,IN,NOT IN | Common |
The display name of the author who has updated the worklog. |
Comment | String | False | =,LIKE,NOT LIKE | Common |
The comment of the worklog. | |
Created | Datetime | True | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common |
The date the worklog was created. | |
Updated | Datetime | True | Common |
The update date of the worklog. | ||
VisibilityType | String | False | Common |
The visibility type of the worklog. | ||
VisibilityValue | String | False | Common |
The visibility value of the worklog. | ||
Started | Datetime | False | Common |
The start date of the worklog. | ||
TimeSpent | String | False | Common |
The spent time of the worklog. | ||
TimeSpentSeconds | Long | False | Common |
The time spent in seconds for the worklog. | ||
AuthorAccountId | String | True |
Users.AccountId | =,!=,IS,IS NOT,IN,NOT IN | Cloud |
The name of the author of the worklog. |
UpdateAuthorAccountId | String | True |
Users.AccountId | =,!=,IS,IS NOT,IN,NOT IN | Cloud |
The name of the author who has updated the worklog. |
AuthorAccountKey | String | True |
Users.Key | =,!=,IS,IS NOT,IN,NOT IN | Server |
The key of the author of the worklog. |
AuthorAccountName | String | True |
Users.Name | =,!=,IS,IS NOT,IN,NOT IN | Server |
The name of the author of the worklog. |
UpdateAuthorAccountKey | String | True |
Users.Key | =,!=,IS,IS NOT,IN,NOT IN | Server |
The key of the author who has updated the worklog. |
UpdateAuthorAccountName | String | True |
Users.Name | =,!=,IS,IS NOT,IN,NOT IN | Server |
The name of the author who has updated the worklog. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
Name | Description |
AdvancedSettings | Query the application properties that are accessible on the Advanced Settings page. |
ApplicationRoles | Query all application roles. In Jira, application roles are managed using the Application access configuration page. |
Audit | Query the audit log of your Jira account. |
BoardConfiguration | Query the agile Board Configuration in Jira. |
BoardIssues | Query the agile Board Issues in Jira. |
BoardSprints | Query the agile Sprints related to a Jira Board. |
Configuration | Query the available Configurations in Jira. |
Dashboards | Query the available Dashboards in Jira. |
Epics | Query all the Epics. |
FavouriteFilters | Query the favourite Filters in Jira. |
Fields | Query the available System and Custom Fields in Jira. |
Filters | Query the set up Filters in Jira. This table is not available in Jira Server. |
Groups | Query the available Groups in Jira. |
IssueAffectedVersions | Query the Affected Versions of an issue in Jira. |
IssueChangelogs | Query the available IssueChangelogs in Jira. |
IssueComponents | Query the available IssueComponents in Jira. |
IssueCustomFieldOptions | Query Issue Custom Field Options in Jira. This resource is not available in Jira Server or when using OAuth authentication. Specifying at least CUSTOMFIELDID, or ID is required. |
IssueCustomFields | Query the available Custom Fields in Jira. |
IssueFixVersions | Query the available IssueFixVersions in Jira. |
IssueLinks | Query the available IssueLinks in Jira. |
IssueLinkTypes | Lists all the issue link types. |
IssueNavigatorDefaultColumns | Query the default issue navigator columns. |
IssuePriorities | Query the list of all issue priorities. |
IssueResolutions | Query the list of all issue resolution values. |
IssueSubtasks | Query the available IssueSubtasks in Jira. |
IssueTransitions | Query the available IssueTransitions in Jira. |
MyPermissions | Query the available Permissions of the current user in Jira. |
Permissions | Query the available Permissions in Jira. |
ProjectCategories | Query all the project categories. |
ProjectRoles | Query roles for all projects in Jira. |
ProjectsIssueTypes | Query the available Issue Types of projects. |
ProjectTypes | Query the list of all issue priorities. |
SecurityLevels | Query all the created security levels. |
SecuritySchemes | Query all the created security schemes. |
SprintIssues | Query the agile Sprint Issues in Jira. |
Statuses | Query the possible Statuses in Jira. |
TimeTrackingProviders | Query the list of all time tracking providers. |
Votes | Query the available Votes in Jira. |
Watchers | Query the available Watchers in Jira. |
WorkflowStatusCategories | Query the list of all status categories. |
WorkflowStatuses | Query the list of all statuses associated with workflows. |
WorklogDeleted | Queries the deleted worklogs in your Jira account. |
Query the application properties that are accessible on the Advanced Settings page.
SELECT * FROM AdvancedSettings
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | = | Common | The ID of the application property. | |
Name | String | Common | The name of the application property. | ||
Description | String | Common | The description of the application property. | ||
Type | String | Common | The data type of the application property. | ||
Value | String | Common | The new value. | ||
DefaultValue | String | Common | The default value of the application property. | ||
AllowedValues | String | Common | The allowed values, if applicable. |
Query all application roles. In Jira, application roles are managed using the Application access configuration page.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM ApplicationRoles WHERE Key = 'jira-software'
Name | Type | References | SupportedOperators | Platform | Description |
Key [KEY] | String | = | Common | The key of the application role. | |
Name | String | Common | The display name of the application role. | ||
Groups | String | Common | The groups associated with the application role. | ||
DefaultGroups | String | Common | The groups that are granted default access for this application role. | ||
SelectedByDefault | Boolean | Common | Determines whether this application role should be selected by default on user creation. | ||
NumberOfSeats | Integer | Common | The maximum count of users on your license. | ||
RemainingSeats | Integer | Common | The count of users remaining on your license. | ||
UserCount | Integer | Common | The number of users counting against your license. | ||
UserCountDescription | String | Common | The type of users being counted against your license. | ||
HasUnlimitedSeats | Boolean | Common | Determines whether this application role has unlimited seats. | ||
Platform | Boolean | Common | Indicates if the application role belongs to Jira platform (jira-core). |
Query the audit log of your Jira account.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Audit WHERE Filter = 'ab'
Name | Type | References | SupportedOperators | Platform | Description |
RecordId | Integer | Common | The Id of the audit record. | ||
Summary | String | Common | Summary of the change. | ||
RemoteAddress | String | Common | The remote address of the record. | ||
AuthorKey | String | Common | Key of the author that made the change. | ||
Created | Datetime | Common | Date on when the change was made. | ||
Category | String | Common | Category of the change. | ||
EventSource | String | Common | What triggered the event. | ||
Description | String | Common | Description of the change. | ||
ItemId | String | Common | Unique identifier of the object item. | ||
ItemName | String | Common | Name of the object item. | ||
ItemTypeName | String | Common | Typename of the object item. | ||
ItemParentId | String | Common | Identifier of the parent of the object item. | ||
ItemParentName | String | Common | Parent name of the object item. | ||
FieldName | String | Common | The name of the changed field. | ||
ChangedFrom | String | Common | The updated value. | ||
ChangedTo | String | Common | The previous value. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
Filter | String | Containing a string in at least one field. For example, providing up will return all audit records where one or more fields contains words such as update. |
Query the agile Board Configuration in Jira.
Name | Type | References | SupportedOperators | Platform | Description |
BoardId [KEY] | Integer |
Boards.Id | =,IN | The Id of the board. | |
ColumnConfig | String | The column configuration lists the columns for the board, in the order defined in the column configuration. For each column, it shows the issue status mapping as well as the constraint type (Valid values: none, issueCount, issueCountExclSubs) for the min/max number of issues. | |||
Filter | String | Reference to the filter used by the given board. | |||
Name | String | The Name of the board. | |||
CustomFieldIdRank | Integer | The CustomFieldId ranking. | |||
Self | String | The self/url column. | |||
SubQuery | String | JQL subquery used by the given board. | |||
Type | String | The type of the board. | |||
EstimationDisplayName | String | Display name of the field used for estimation. | |||
EstimationFieldId | String | The Id of the field used for estimation. | |||
EstimationType | String | Contains information about type of estimation used for the board. Valid values: none, issueCount, field. If the estimation type is |
Query the agile Board Issues in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。 Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM BoardIssues WHERE BoardId = '1' SELECT * FROM BoardIssues WHERE BoardId IN (70, 215)
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer |
Issues.Id | =,IN | Common | The Id of the issue. |
Key | String |
Issues.Key | =,IN | Common | The key of the issue. |
BoardId [KEY] | Integer |
Boards.Id | =,IN | Common | The board the issue is included in. |
IssueTypeId | String |
IssueTypes.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue type Id. |
IssueTypeName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue type name. | |
StatusId | Integer |
Statuses.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue status Id. |
StatusName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue status name. | |
ProjectId | Integer |
Projects.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The project Id of the issue. |
ProjectKey | String |
Projects.Key | =,!=,IS,IS NOT,IN,NOT IN | Common | The project key of the issue. |
ProjectName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The project name of the issue. | |
ClosedSprintsAggregate | String | Common | The issue's previous sprints that have been closed. | ||
Created | Datetime | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The creation date of the issue. | |
Updated | Datetime | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The updated date of the issue. |
Query the agile Sprints related to a Jira Board.
Sync App はJira API を使用して一部のフィルタを処理します。Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM BoardSprints WHERE BoardId = 122
BoardId の使用:
SELECT * FROM BoardSprints WHERE BoardId IN (12, 42)
かんばんタイプのボードはスプリントをサポートしていないため、次のようなクエリを使用すると、すべてのスプリントをより速く取得できます。
SELECT * FROM BoardSprints WHERE BoardId IN (SELECT Id FROM Boards WHERE Type != 'kanban')
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | Common | The Id of the sprint. | ||
BoardId [KEY] | Integer |
Boards.Id | =,IN | Common | The board Id the sprint is in. |
Name | String | Common | The name of the sprint. | ||
State | String | = | Common | The state of the sprint. The sprint state can only transition from 'future' to 'active', and from 'active' to 'close'
使用できる値は次のとおりです。future, active, closed | |
Goal | String | Common | The goal assigned for the sprint. | ||
OriginBoardId | Integer |
Boards.Id | = | Common | The board Id the sprint originated from. This field cannot be updated |
StartDate | Datetime | Common | The date when the sprint was started. | ||
EndDate | Datetime | Common | The date when the sprint has ended. | ||
CompleteDate | Datetime | Common | The date when the sprint was completed. |
Query the available Configurations in Jira.
Sync App は、このテーブルで指定されたすべてのフィルタをクライアント側でSync App 内で処理します。
SELECT * FROM Configuration
Name | Type | References | SupportedOperators | Platform | Description |
VotingEnabled | Boolean | Common | Configuration for voting. | ||
WatchingEnabled | Boolean | Common | Configuration for watching. | ||
UnassignedIssuesAllowed | Boolean | Common | Configuration to allow unassigned issues. | ||
SubTasksEnabled | Boolean | Common | Configuration to enable subtasks. | ||
IssueLinkingEnabled | Boolean | Common | Configuration to enable issue linking. | ||
TimeTrackingEnabled | Boolean | Common | Configuration to enable time tracking. | ||
AttachmentsEnabled | Boolean | Common | Configuration to enable attachments. | ||
WorkingHoursPerDay | Double | Common | Configuration of the working hours per day. | ||
WorkingDaysPerWeek | Double | Common | Configuration of the working days per week. | ||
TimeFormat | String | Common | Configuration of the time format. | ||
DefaultUnit | String | Common | Configuration of the default unit. |
Query the available Dashboards in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。Jira はId およびFilter カラムをサポートしますが、両方同時にはサポートしません。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Dashboards WHERE Id = 10001疑似カラムFilter でフィルタをかけることもできます。
SELECT * FROM Dashboards WHERE Filter = 'favourite'
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | = | Common | The Id of the dashboard. | |
Name | String | Common | The name of the dashboard | ||
View | String | Common | The view URL of the dashboard. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
Filter | String | This is used to filter data. Valid values include favourite and my.
使用できる値は次のとおりです。favourite, my |
Query all the Epics.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
例えば、次のクエリはサーバー側でフィルタリングされます。
SELECT * FROM Epics WHERE BoardId = 1
SELECT * FROM Epics WHERE BoardId IN (1, 2, 3)
特定のエピックのId またはKey を指定:
SELECT * FROM Epics WHERE Id = 10000
SELECT * FROM Epics WHERE Id IN (10000, 10001)
SELECT * FROM Epics WHERE Key = 'TSS-9151'
SELECT * FROM Epics WHERE Key IN ('TSS-9151', 'TSS-9152')
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | =,IN | Common | The Id of the Epic. | |
Key [KEY] | String | =,IN | Common | The key of the Epic. | |
BoardId [KEY] | Integer |
Boards.Id | =,IN | Common | The board Id the Epic is in. |
Name | String | Common | The name of the Epic. | ||
Done | Boolean | Common | Whether or not the Epic is done. | ||
ColorKey | String | Common | The key of the Epic's color. | ||
Summary | String | Common | A brief summary for the Epic. |
Query the favourite Filters in Jira.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | Common | The Id of the favourite filter. | ||
Name | String | Common | The name assigned to the favourite filter. | ||
JQLExpression | String | Common | The JQL by which the favourite filter will search issues by. | ||
Description | String | Common | The description given to the favourite filter. | ||
OwnerDisplayName | String | Common | The display name of the user who owns the favourite filter. | ||
OwnerAccountId | String | Cloud | The account ID of the user who owns the favourite filter. | ||
Count | Integer | Cloud | How many users have this filter as a favourite. | ||
OwnerKey | String | Server | The key of the user who owns the favourite filter. |
Query the available System and Custom Fields in Jira.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | Common | The Id of the field. | ||
Key | String | Common | The key of the field. | ||
Name | String | Common | The name of the field. | ||
Custom | Boolean | Common | A boolean indicating if the field is custom. | ||
Orderable | Boolean | Common | A boolean indicating if the field is orderable. | ||
Navigable | Boolean | Common | A boolean indicating if the field is navigable. | ||
Searchable | Boolean | Common | A boolean indicating if the field is searchable. |
Query the set up Filters in Jira. This table is not available in Jira Server.
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
すべてのフィルタを取得:
SELECT * FROM Filters
特定のフィルタのId を指定:
SELECT * FROM Filters WHERE Id = 10001
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | = | Cloud | The Id of the filter. | |
Name | String | Cloud | The name assigned to the filter. | ||
JQLExpression | String | Cloud | The JQL by which the filter will search issues by. | ||
Description | String | Cloud | The description given to the filter. | ||
OwnerDisplayName | String | = | Cloud | The board Id the sprint originated from. | |
Favourite | Boolean | Cloud | Whether you have set this filter as a favourite. | ||
FavouritedCount | Integer | Cloud | How many users have this filter as a favourite. | ||
SubscriptionsAggregate | String | Cloud | Collection of user subscriptions to the filter . | ||
SharePermissionsAggregate | String | Cloud | Aggregate of share permissions to the filter. |
Query the available Groups in Jira.
Sync App はJira API を使用して一部のフィルタを処理します。Sync App は他のフィルタをSync App 内で処理します。
SELECT * FROM GROUPS WHERE Name <> 'administrator' AND CONTAINS(Name, 'jira')
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | Common | The Id of the group. | ||
Name | String | =,!=,CONTAINS | Common | The name of the group. | |
Html | String | Common | The HTML of the group. | ||
LabelsAggregate | String | Common | The labels of the group. |
Query the Affected Versions of an issue in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueAffectedVersions を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueAffectedVersions で使用可能なカラムは、IssueId、IssueKey、およびJQL です次に例を示します。
SELECT * FROM IssueAffectedVersions WHERE IssueId > 10022 AND IssueId < 10090
Name | Type | References | SupportedOperators | Platform | Description |
VersionId [KEY] | String | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The Id of the affected version. | |
IssueId [KEY] | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue Id of the affected version. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue key of the affected version. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the affected version's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the affected version's issue was last updated. | |
Name | String | Common | The name of the affected version. | ||
Archived | Boolean | Common | A boolean indicating if the affected is archived. | ||
Released | Boolean | Common | A boolean indicating if the affected is released. | ||
ReleaseDate | Date | Common | The release date. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query the available IssueChangelogs in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueChangelogs を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueChangelogs のサーバー側のフィルタリングで使用可能なカラムは、IssueId、IssueKey、ProjectId、ProjectKey、ProjectName およびJQL です。次に例を示します。
SELECT * FROM IssueChangelogs WHERE IssueId<>10022 SELECT * FROM IssueChangelogs WHERE ProjectKey = 'PRJ'
Name | Type | References | SupportedOperators | Platform | Description |
HistoryId | Integer | Common | The Id of the change. | ||
IssueId | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The Id of the issue. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The key of the issue. |
Created | Datetime | Common | The creation date of the change. | ||
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the change's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the change's issue was last updated. | |
ItemField | String | Common | The item field of the change. | ||
ItemFieldType | String | Common | The item field type of the change. | ||
ItemFrom | String | Common | The item the issue changed from. | ||
ItemFromString | String | Common | The description of the item the issue changed from. | ||
ItemTo | String | Common | The item the issue changed to. | ||
ItemToString | String | Common | The description of the item the issue changed to. | ||
AuthorDisplayName | String | Common | The display name of the author who has updated the change. | ||
AuthorAccountId | String | Cloud | The author name of the change. | ||
AuthorName | String | Cloud | The author name of the change. | ||
AuthorAccountKey | String | Server | The key of the author of the change. | ||
AuthorAccountName | String | Server | The name of the author who has updated the change. | ||
ProjectId | Integer |
Projects.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The project Id of the issue. |
ProjectKey | String |
Projects.Key | =,!=,IS,IS NOT,IN,NOT IN | Common | The project key of the issue. |
ProjectName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The project name of the issue. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query the available IssueComponents in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueComponents を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueComponents で使用可能なカラムは、IssueId、IssueKey、およびJQL です。次に例を示します。
SELECT * FROM IssueComponents WHERE IssueId > 10022 AND IssueId < 10090
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | =,<>,IS,IS NOT,IN,NOT IN | Common | The Id of the component. | |
Name | String | Common | The name of the component. | ||
IssueId [KEY] | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue Id of the component. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue key of the component. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the component's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the component's issue was last updated. | |
Description | String | Common | The description of the component. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query Issue Custom Field Options in Jira. This resource is not available in Jira Server or when using OAuth authentication. Specifying at least CUSTOMFIELDID, or ID is required.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | = | The ID of the custom field option. | ||
CustomFieldId | Long |
IssueCustomFields.CustomId | = | The ID of the custom field. | |
Name | String | The name of the custom field option. |
Query the available Custom Fields in Jira.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | Common | The Id of the custom field. | ||
Key | String | Common | The key of the custom field. | ||
CustomId | Long | The custom ID of the field. | |||
Name | String | Common | The name of the custom field. | ||
CDataName | String | Common | The name of the custom field on the Issues table provided by CData, when IncludeCustomFields=true | ||
Orderable | Boolean | Common | A boolean indicating if the field is orderable. | ||
Navigable | Boolean | Common | A boolean indicating if the field is navigable. | ||
Searchable | Boolean | Common | A boolean indicating if the field is searchable. |
Query the available IssueFixVersions in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueFixVersions を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueFixVersions で使用可能なカラムは、IssueId、IssueKey、およびJQL です。次に例を示します。
SELECT * FROM IssueFixVersions WHERE IssueId > 10022 AND IssueId < 10090
Name | Type | References | SupportedOperators | Platform | Description |
VersionId [KEY] | String | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The Id of the fix version. | |
IssueId [KEY] | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue Id of the fix version. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The issue key of the fix version. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the fix version's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the fix version's issue was last updated. | |
Name | String | Common | The name of the fix version. | ||
Archived | Boolean | Common | A boolean indicating if the fix is archived. | ||
Released | Boolean | Common | A boolean indicating if the fix is released. | ||
ReleaseDate | Datetime | Common | The release date. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query the available IssueLinks in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueLinks を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueLinks で使用可能なカラムは、IssueId、IssueKey、およびJQL です。次に例を示します。
SELECT * FROM IssueLinks WHERE IssueId > 10022 AND IssueId < 10090
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | Common | The Id of the link. | ||
InwardIssueId | Integer |
Issues.Id | Common | The Id of the issue targeting this issue in the link. | |
InwardIssueKey | String |
Issues.Key | Common | The Key of the issue targeting this issue in the link. | |
OutWardIssueId | Integer |
Issues.Id | Common | The Id of the issue this link is targeting. | |
OutwardIssueKey | String |
Issues.Key | Common | The Key of the issue this link is targeting. | |
IssueId [KEY] | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The link's original issue Id. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The link's original issue Key. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the link's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the links's issue was last updated. | |
TypeId | Id | Common | The Id of the link type. | ||
TypeName | String | Common | The Name of the link type. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Lists all the issue link types.
Sync App はJira API を使用して、Id カラムを参照するフィルタを処理します。
Sync App はその他のフィルタをクライアント側で内部で実行します。例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM IssueLinkTypes WHERE Id = '10003' SELECT * FROM IssueLinkTypes WHERE Id IN ('10002', '10000')
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | =,IN | Common | Unique identifier of the issue link type. | |
Name | String | Common | The name of the issue link type. | ||
Inward | String | Common | The description of the issue link type inward link. | ||
Outward | String | Common | The description of the issue link type outward link. |
Query the list of all issue priorities.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM IssuePriorities WHERE Id = 1
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | = | Common | The ID of the issue priority. | |
Name | String | Common | The name of the issue priority. | ||
Description | String | Common | The description of the issue priority. | ||
URL | String | Common | The URL of the issue priority. | ||
StatusColor | String | Common | The color used to indicate the issue priority. | ||
IconUrl | String | Common | The URL of the icon for the issue priority. |
Query the list of all issue resolution values.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM IssueResolutions WHERE Id = 10000
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | = | Common | The ID of the issue resolution. | |
Name | String | Common | The name of the issue resolution. | ||
Description | String | Common | The description of the issue resolution. | ||
URL | String | Common | The URL of the issue resolution. |
Query the available IssueSubtasks in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueSubtasks を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueSubtasks で使用可能なカラムは、IssueId、IssueKey、およびJQL です。次に例を示します。
SELECT * FROM IssueSubtasks WHERE IssueId = 10009 AND JQL = 'creator = john'
Name | Type | References | SupportedOperators | Platform | Description |
SubtaskId [KEY] | String | Common | The Id of the subtask. | ||
SubtaskKey | String | Common | The key of the subtask. | ||
IssueId | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The Id of the parent issue. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The key of the parent issue. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the subtask's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the subtask's issue was last updated. | |
Summary | String | Common | The summary of the subtask. | ||
TypeId | String |
IssueTypes.Id | Common | The issue type Id of the subtask. | |
TypeName | String |
IssueTypes.Name | Common | The issue type name of the subtask. | |
TypeDescription | String |
IssueTypes.Description | Common | The issue type description of the subtask. | |
TypeSubtask | Boolean |
IssueTypes.Subtask | Common | A boolean indicating if the issue is a subtask. | |
PriorityId | String | Common | The priority Id of the subtask. | ||
PriorityName | String | Common | The priority name of the subtask. | ||
StatusId | String | Common | The status Id of the subtask. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query the available IssueTransitions in Jira.
SQL とJQL (Jira Query Language) を使用して、IssueTransitions を検索できます。
Sync App はJira API を使用して一部のフィルタを処理します。
Sync App は他のフィルタをSync App 内で処理します。
IssueTransitions で使用可能なカラムは、IssueId、IssueKey、およびJQL です。次に例を示します。
SELECT * FROM IssueTransitions WHERE JQL = 'id=10022'
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | Common | The Id of the transition. | ||
IssueId [KEY] | Integer |
Issues.Id | =,<>,>,>=,<,<=,IN,NOT IN | Common | The Id of the issue. |
IssueKey | String |
Issues.Key | =,<>,>,>=,<,<=,IN,NOT IN | Common | The key of the issue. |
IssueCreatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the transition's issue was created. | |
IssueUpdatedDate | Datetime | =,<>,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The date the transition's issue was last updated. | |
HasScreen | String | Common | Whether the transition has a screen. | ||
Name | String | Common | The name of the transition. | ||
ToDescription | String | Common | The description of the status the issue is transitioning to. | ||
ToId | String | Common | The Id of the status the issue is transitioning to. | ||
ToName | String | Common | The name of the status the issue is transitioning to. | ||
StatusCategoryId | String | Common | The status category Id of the transition. | ||
StatusCategoryKey | String | Common | The status category key of the transition. | ||
StatusCategoryName | String | Common | The status category name of the transition. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
JQL | String | JQL (Jira Query Language) allows you to build structured queries. |
Query the available Permissions of the current user in Jira.
Sync App は、このテーブルで指定されたすべてのフィルタをクライアント側でSync App 内で処理します。
SELECT * FROM MyPermissions
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | Common | The Id of the permission. | ||
Key [KEY] | String | Common | The key of the permission. | ||
Name | String | Common | The name of the permission. | ||
Type | String | Common | The type of the permission. | ||
Description | String | Common | The description of the permission. | ||
HavePermission | Boolean | Common | Boolean indicating if the permission is set or not. | ||
DeprecatedKey | Boolean | Common | Boolean indicating if the permission is deprecated. | ||
Permissions | String | = | Common | Permissions as comma seperated values. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description | |
ProjectKey | String | The key of the project associated with the permission. | |
ProjectId | String | The Id of the project associated with the permission. | |
IssueKey | String | The key of the issue associated with the permission. | |
IssueId | String | The Id of the issue associated with the permission. |
Query the available Permissions in Jira.
Name | Type | References | SupportedOperators | Platform | Description |
Key [KEY] | String | Common | The key of the permission. | ||
Name | String | Common | The name of the permission. | ||
Type | String | Common | The type of the permission. | ||
Description | String | Common | The description of the permission. |
Query all the project categories.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | = | Common | Unique identifier of the project category. | |
Name | String | Common | Name of the project category. | ||
Description | String | Common | Description of the project category. | ||
Link | String | Common | Link to this project category. |
Query roles for all projects in Jira.
The Sync App will use the Jira API to process filters that refer to ProjectId and ProjectKey while the rest of the filter is executed client side within the Sync App. The Jira APIs support filters using the equals (=) or IN operator with ProjectId and ProjectKey.
For example, the following queries are processed server side:
Retrieve all roles for each project:
SELECT * FROM ProjectRoles
Retrieve all roles for a specific project:
SELECT * FROM ProjectRoles WHERE ProjectId = '10000'
Name | Type | References | SupportedOperators | Platform | Description |
RoleId [KEY] | Long |
Roles.Id | Common | The Id of the role. | |
RoleName | String |
Roles.Name | Common | The name of the role. | |
ProjectId [KEY] | Integer |
Projects.Id | =,IN | Common | The Id of the project associated with the role. |
ProjectKey [KEY] | String |
Projects.Key | =,IN | Common | The key of the project associated with the role. |
Query the available Issue Types of projects.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | The Id of the issue type. | |||
ProjectId [KEY] | Int |
Projects.Id | The Id of the project. | ||
ProjectName | String |
Projects.Name | The name of the project | ||
Name | String | The name of the issue type. | |||
Description | String | The description of the issue type. | |||
Subtask | Boolean | The subtask of the issue type. Not applicable for update. | |||
IconUrl | String | The icon URL of the issue type. | |||
AvatarId | String | The id of the avatar |
Query the list of all issue priorities.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM ProjectTypes WHERE Key = 'software'
Name | Type | References | SupportedOperators | Platform | Description |
Key [KEY] | String | = | Common | The key of the project type. | |
DescriptionKey | String | Common | The key of the project type's description. | ||
Icon | String | Common | The icon of the project type. | ||
Color | String | Common | The color of the project type. |
Query all the created security levels.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | Common | The ID of the issue level security item. | ||
SecuritySchemeId | Long | =,IN | Common | Link to this security level. | |
Name | String | Common | The name of the issue level security item. | ||
Description | String | Common | The description of the issue level security item. |
Query all the created security schemes.
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | = | Common | The ID of the issue security scheme. | |
Name | String | Common | The name of the issue security scheme. | ||
Description | String | Common | The description of the issue security scheme. | ||
DefaultSecurityLevelId | Long | Common | The ID of the default security level. |
Query the agile Sprint Issues in Jira.
Jira API は、SprintId のフィルタでIN 演算子をサポートしています。Sync App はその他のフィルタをクライアント側で内部で実行します。例えば、次のクエリのフィルタはサーバー側で処理されます。
SELECT * FROM SprintIssues WHERE SprintId = '1'
IN 演算子の使用:
SELECT * FROM SprintIssues WHERE SprintId IN (70, 215)
かんばんタイプのボードはスプリントをサポートしていないことに注意してください。次のようなフィルタを使用すると、スプリントのすべての課題をより速く取得できます。
SELECT * FROM SprintIssues WHERE SprintId IN (SELECT Id FROM BoardSprints WHERE BoardId IN (SELECT Id FROM Boards WHERE Type != 'kanban'))
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer |
Issues.Id | Common | The Id of the issue. | |
Key | String |
Issues.Key | = | Common | The key of the issue. |
SprintId [KEY] | Integer |
Sprints.Id | =,IN | Common | The sprint the issue is assigned to. |
IssueTypeId | String |
IssueTypes.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue type Id. |
IssueTypeName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue type name. | |
StatusId | Integer |
Statuses.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue status Id. |
StatusName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The issue status name. | |
ProjectId | Integer |
Projects.Id | =,!=,IS,IS NOT,IN,NOT IN | Common | The project Id of the issue. |
ProjectKey | String |
Projects.Key | =,!=,IS,IS NOT,IN,NOT IN | Common | The project key of the issue. |
ProjectName | String | =,!=,IS,IS NOT,IN,NOT IN | Common | The project name of the issue. | |
ClosedSprintsAggregate | String | Common | The issue's previous sprints that have been closed. | ||
Created | Datetime | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The creation date of the issue. | |
Updated | Datetime | =,!=,>,>=,<,<=,IS,IS NOT,IN,NOT IN | Common | The updated date of the issue. |
Query the possible Statuses in Jira.
Sync App はJira API を使用して、Id またはName カラムを参照するフィルタを処理します。Name カラムの検索では、大文字と小文字が区別されます。
Sync App はその他のフィルタをクライアント側で内部で実行します。例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Statuses WHERE Id = '10003' SELECT * FROM Statuses WHERE Name = 'Closed'
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Integer | = | Common | The Id of the status. | |
Name | String | = | Common | The name of the status. | |
Description | String | Common | The description of the status. | ||
CategoryId | Integer | Common | The Category Id of the status. | ||
CategoryKey | String | Common | The Category Key of the status. |
Query the list of all time tracking providers.
SELECT * FROM TimeTrackingProviders
Name | Type | References | SupportedOperators | Platform | Description |
Key [KEY] | String | = | Cloud | The key for the time tracking provider. For example, Jira. | |
Name | String | Cloud | The name of the time tracking provider. For example, Jira provided time tracking. | ||
URL | String | Cloud | The URL of the configuration page for the time tracking provider app. For example, /example/config/url. This property is only returned if the adminPageKey property is set in the module descriptor of the time tracking provider app. |
Query the available Votes in Jira.
Sync App は、次のフィルタ以外のフィルタを、クライアント側で 内部で実行します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Votes WHERE IssueId = 10100 SELECT * FROM Votes WHERE IssueKey = 'MKY-1'
Name | Type | References | SupportedOperators | Platform | Description |
Key [KEY] | String | Common | The key of the vote. | ||
Name | String | Common | The name of the vote. | ||
DisplayName | String | Common | The display name of the vote. | ||
Active | Boolean | Common | Boolean indicating if the vote is active. | ||
AccountId | String | Common | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. | ||
IssueId | String | = | Common | The issue Id of the vote. | |
IssueKey | String | = | Common | The issue key of the vote. |
Query the available Watchers in Jira.
Sync App は、Jira API を使用してIssueId またはIssueKey に基づいてフィルタを処理します。結果を取得するためには、いずれか1つが必要です。IssueId およびIssueKey は、イコール演算子(=) でのみ使用できます。
Sync App は、他のフィルタをクライアント側で内部で実行します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Watchers WHERE IssueId = '10100' SELECT * FROM Watchers WHERE IssueKey = 'PRJ-1'
Name | Type | References | SupportedOperators | Platform | Description |
DisplayName | String | Common | The displayed name of the watcher. | ||
EmailAddress | String | Common | The email address of the watcher. | ||
AccountId [KEY] | String | Cloud | The accountId of the watcher. | ||
Key [KEY] | String | Server | The key of the watcher. | ||
Name | String | Server | The name of the watcher. | ||
IssueId | String | = | Common | The issue Id of the watcher. | |
IssueKey | String | = | Common | The issue key of the watcher. |
Query the list of all status categories.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM WorkflowStatusCategories WHERE Id = 1 SELECT * FROM WorkflowStatusCategories WHERE Key = 'undefined'
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | Long | = | Common | The ID of the status category. | |
Key | String | = | Common | The key of the status category. | |
Name | String | Common | The name of the status category. | ||
ColorName | String | Common | The name of the color used to represent the status category. | ||
URL | String | Common | The URL of the status category. |
Query the list of all statuses associated with workflows.
The Sync App uses the Jira API to process some of the filters.
The Sync App processes other filters within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM WorkflowStatuses WHERE Id = 1 SELECT * FROM WorkflowStatuses WHERE Name = 'Open'
Name | Type | References | SupportedOperators | Platform | Description |
Id [KEY] | String | = | Common | The ID of the status. | |
StatusCategoryId | Long | Common | The ID of the status category. | ||
Name | String | = | Common | The name of the status. | |
Description | String | Common | The description of the status. | ||
URL | String | Common | The description of the status. | ||
IconUrl | String | Common | The URL of the icon used to represent the status. |
Queries the deleted worklogs in your Jira account.
Name | Type | References | SupportedOperators | Platform | Description |
Id | String | The Id of the audit record. | |||
Updated | Datetime | >=,> | The date on when the change was made. | ||
Properties | String | The properties of the deleted Worklog. |
Sync App は、データソースの型を、スキーマで使用可能な対応するデータ型にマッピングします。以下のテーブルはこれらのマッピングを説明します。
Jira | CData スキーマ |
Assets | string |
Checkbox | string |
Date of First Response | datetime |
Date Picker | date |
Date Time Picker | datetime |
Days since last comment | string |
Domain of Assignee | string |
Domain of Reporter | string |
Group Picker (multiple groups) | string |
Group Picker (single group) | string |
Labels | string |
Last commented by a User Flag | string |
Last public comment date | string |
Message Custom Field (for edit) | string |
Message Custom Field (for view) | string |
Number Field | decimal |
Number of attachments | string |
Number of comments | string |
Parent Link | string |
Participants of an issue | string |
Project Picker (single project) | string |
Radio Buttons | string |
Select List (cascading) | string |
Select List (multiple choices) | string |
Select List (single choice) | string |
Team | string |
Text Field (multi-line) | string |
Text Field (read only) | string |
Text Field (single line) | string |
Time in Status | string |
URL Field | string |
User Picker (multiple users) | string |
User Picker (single user) | string |
User Property Field | string |
Username of last updater or commenter | string |
Version Picker (multiple versions) | string |
Version Picker (single version) | string |
プロパティ | 説明 |
AuthScheme | Jira に接続する際に使用する認証の種類。 |
URL | Jira エンドポイントへのURL。 |
User | 認証で使用されるJira ユーザーアカウント。 |
Password | ユーザーの認証で使用されるパスワード。 |
APIToken | 現在の認証ユーザーのAPI トークン。 |
PAT | 現在の認証ユーザーの個人用アクセストークン。 |
プロパティ | 説明 |
SSOLoginURL | ID プロバイダーのログインURL。 |
SSOProperties | セミコロンで区切られたID プロバイダーへの接続に必要な追加プロパティ。 |
SSOExchangeUrl | SAML 応答を処理してサービスの資格情報と交換するために使用するURL。 |
SSOAppName | アプリ名を必要とするSSO のIdP で使用されるアプリ名. |
SSOAppPassword | アプリパスワードを必要とするSSO のIdP で使用されるアプリパスワード。 |
プロパティ | 説明 |
OAuthVersion | 使われているOAuth のバージョン。 |
OAuthClientId | OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。 |
OAuthClientSecret | OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。 |
Scope | This determines the scopes that the OAuth application requests from Jira. The default scopes are: read:jira-work manage:jira-project manage:jira-configuration read:jira-user write:jira-work manage:jira-data-provider read:board-scope:jira-software write:board-scope:jira-software read:board-scope.admin:jira-software read:epic:jira-software read:sprint:jira-software write:sprint:jira-software delete:sprint:jira-software read:project:jira read:issue-details:jira read:jql:jira offline_access. |
AuthToken | OAuth アクセストークンをリクエストおよび取得するために使用される認証トークン。 |
AuthKey | OAuth アクセストークンをリクエストおよび取得するために使用される認証シークレット。 |
CertificateStoreType | Jira プライベートアプリケーション認証で使用される証明書ストアの種類。 |
CertificateStore | Jira 認証に使用される証明書ストア。 |
CertificateSubject | Jira プライベートアプリケーション認証で使用される証明書のサブジェクト。 |
CertificateStorePassword | Jira 認証で使用される証明書ストアのパスワード。 |
プロパティ | 説明 |
SSLClientCert | SSL クライアント認証(2-way SSL)のためのTLS/SSL クライアント証明書ストア。 |
SSLClientCertType | TLS/SSL クライアント証明書を格納するキーストアの種類。 |
SSLClientCertPassword | TLS/SSL クライアント証明書のパスワード。 |
SSLClientCertSubject | TLS/SSL クライアント証明書のサブジェクト。 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
プロパティ | 説明 |
FirewallType | プロキシベースのファイアウォールで使われるプロトコル。 |
FirewallServer | プロキシベースのファイアウォールの名前もしくはIP アドレス。 |
FirewallPort | プロキシベースのファイアウォールのTCP ポート。 |
FirewallUser | プロキシベースのファイアウォールに認証するために使うユーザー名。 |
FirewallPassword | プロキシベースのファイアウォールへの認証に使われるパスワード。 |
プロパティ | 説明 |
ProxyAutoDetect | これは、システムプロキシ設定を使用するかどうかを示します。 |
ProxyServer | HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。 |
ProxyPort | ProxyServer プロキシが起動しているTCP ポート。 |
ProxyAuthScheme | ProxyServer プロキシへの認証で使われる認証タイプ。 |
ProxyUser | ProxyServer プロキシへの認証に使われるユーザー名。 |
ProxyPassword | ProxyServer プロキシへの認証に使われるパスワード。 |
ProxySSLType | ProxyServer プロキシへの接続時に使用するSSL タイプ。 |
ProxyExceptions | ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
プロパティ | 説明 |
LogModules | ログファイルに含めるコアモジュール。 |
プロパティ | 説明 |
Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
Tables | このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。 |
Views | 使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。 |
プロパティ | 説明 |
IncludeCustomFields | A boolean indicating if you would like to include custom fields in the column listing. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
MaxThreads | コンカレントリクエスト数を指定します。 |
Other | これらの隠しプロパティは特定のユースケースでのみ使用されます。 |
Pagesize | Jira から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
Timezone | Specify the timezone of the Jira instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York. |
UseDefaultOrderBy | Indicates if a default order by should be applied if none is specified in the query. |
UseDisplayNames | Boolean determining if the display names for custom fields should be used instead of the API names. |
UserDefinedViews | カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。 |
UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを決定するboolean。 |
Jira に接続する際に使用する認証の種類。
Jira エンドポイントへのURL。
Jira エンドポイントへのURL。例えば、https://yoursitename.atlassian.net です。
現在の認証ユーザーのAPI トークン。
現在の認証ユーザーのAPI トークン。
現在の認証ユーザーの個人用アクセストークン。
現在の認証ユーザーの個人用アクセストークン。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSO プロパティの全リストを提供します。
プロパティ | 説明 |
SSOLoginURL | ID プロバイダーのログインURL。 |
SSOProperties | セミコロンで区切られたID プロバイダーへの接続に必要な追加プロパティ。 |
SSOExchangeUrl | SAML 応答を処理してサービスの資格情報と交換するために使用するURL。 |
SSOAppName | アプリ名を必要とするSSO のIdP で使用されるアプリ名. |
SSOAppPassword | アプリパスワードを必要とするSSO のIdP で使用されるアプリパスワード。 |
ID プロバイダーのログインURL。
ID プロバイダーのログインURL。
セミコロンで区切られたID プロバイダーへの接続に必要な追加プロパティ。
セミコロンで区切られたID プロバイダーへの接続に必要な追加プロパティ。SSOLoginURL と一緒に使われます。
SSO 設定については、 で詳しく説明します。
SAML 応答を処理してサービスの資格情報と交換するために使用するURL。
CData Sync App はここで指定されたURL を使用してSAML 応答を処理し、サービスの資格情報と交換します。 取得した資格情報はSSO 接続時の最後の情報であり、Jira との通信に使用されます。
アプリ名を必要とするSSO のIdP で使用されるアプリ名.
SSOAppPassword とともに、SSO IdP で設定されたアプリを識別して認証するために指定できます。 現在、クラウドのみサポートしています。
アプリパスワードを必要とするSSO のIdP で使用されるアプリパスワード。
SSOAppName とともに、SSO IdP で設定されたアプリを識別して認証するために指定できます。 現在、クラウドのみサポートしています。
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
プロパティ | 説明 |
OAuthVersion | 使われているOAuth のバージョン。 |
OAuthClientId | OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。 |
OAuthClientSecret | OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。 |
Scope | This determines the scopes that the OAuth application requests from Jira. The default scopes are: read:jira-work manage:jira-project manage:jira-configuration read:jira-user write:jira-work manage:jira-data-provider read:board-scope:jira-software write:board-scope:jira-software read:board-scope.admin:jira-software read:epic:jira-software read:sprint:jira-software write:sprint:jira-software delete:sprint:jira-software read:project:jira read:issue-details:jira read:jql:jira offline_access. |
AuthToken | OAuth アクセストークンをリクエストおよび取得するために使用される認証トークン。 |
AuthKey | OAuth アクセストークンをリクエストおよび取得するために使用される認証シークレット。 |
CertificateStoreType | Jira プライベートアプリケーション認証で使用される証明書ストアの種類。 |
CertificateStore | Jira 認証に使用される証明書ストア。 |
CertificateSubject | Jira プライベートアプリケーション認証で使用される証明書のサブジェクト。 |
CertificateStorePassword | Jira 認証で使用される証明書ストアのパスワード。 |
使われているOAuth のバージョン。
使われているOAuth のバージョン。次のオプションが利用可能です:1.0,2.0
OAuth 認証サーバーを使用してアプリケーションを登録する場合に割り当てられたクライアントId。
OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId 値、およびクライアントシークレットOAuthClientSecret が提供されます。
OAuth 認証サーバーにアプリケーションを登録する場合に割り当てられたクライアントシークレット。
OAuth アプリケーションの登録の一環として、コンシューマキーとも呼ばれるOAuthClientId が提供されます。また、コンシューマーシークレットと呼ばれるクライアントシークレットも提供されます。クライアントシークレットをOAuthClientSecret プロパティに設定します。
This determines the scopes that the OAuth application requests from Jira. The default scopes are: read:jira-work manage:jira-project manage:jira-configuration read:jira-user write:jira-work manage:jira-data-provider read:board-scope:jira-software write:board-scope:jira-software read:board-scope.admin:jira-software read:epic:jira-software read:sprint:jira-software write:sprint:jira-software delete:sprint:jira-software read:project:jira read:issue-details:jira read:jql:jira offline_access.
初期アクセストークンとリフレッシュトークンを取得するスコープを指定します。
By default the Sync App will request that the user authorize all available scopes. If you want to override this, you can set this property to a space-separated list of OAuth scopes.
OAuth アクセストークンをリクエストおよび取得するために使用される認証トークン。
このプロパティは、OAuth 1.0でヘッドレス認証を実行する場合にのみ必要です。これは、GetOAuthAuthorizationUrl ストアドプロシージャから取得できます。
GetOAuthAccessToken ストアドプロシージャでAuthKey とともに指定して、OAuthAccessToken を取得できます。
OAuth アクセストークンをリクエストおよび取得するために使用される認証シークレット。
このプロパティは、OAuth 1.0でヘッドレス認証を実行する場合にのみ必要です。これは、GetOAuthAuthorizationUrl ストアドプロシージャから取得できます。
GetOAuthAccessToken ストアドプロシージャでAuthToken とともに指定して、OAuthAccessToken を取得できます。
Jira プライベートアプリケーション認証で使用される証明書ストアの種類。
Jira プライベートアプリケーション認証で使用されるクライアント証明書の証明書ストアの名前。 Jira プライベートアプリケーション認証では、デジタル証明書によるSSL クライアント認証が使用されます。
CertificateStoreType プロパティは次のいずれかの値をとります。
User - デフォルト | Windows の場合、現在のユーザーにより所有された証明書ストアであることを指定します。 Note:この種類はJava では利用できません。 |
Machine | Windows の場合、この証明書ストアがシステムストアであることを指定します。 Note:この種類はJava では利用できません。 |
PFXFile | この証明書ストアは、証明書を含むPFX(PKCS12)ファイルの名前です。 |
PFXBlob | この証明書ストアは、PFX(PKCS12)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 |
JKSFile | この証明書ストアは、証明書を含むJava key store(JKS)ファイルの名前です。 Note:この種類はJava のみで利用できます。 |
JKSBlob | この証明書ストアは、Java key store(JKS)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 Note:この種類はJava のみで利用できます。 |
PEMKeyFile | この証明書ストアは、秘密キーと任意の証明書を含むPEM でエンコードされたファイルの名前です。 |
PublicKeyFile | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むファイルの名前です。 |
PublicKeyBlob | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むBase-64でエンコードされた文字列です。 |
SSHPublicKeyBlob | この証明書ストアは、SSH 公開キーを含むBase-64でエンコードされた文字列です。 |
P7BFile | この証明書ストアは、証明書を含むPKCS7 ファイルの名前です。 |
SSHPublicKeyFile | この証明書ストアは、SSH 公開キーを含むファイルの名前です。 |
PPKFile | この証明書ストアは、PuTTY 秘密キー(PPK)を含むファイルの名前です。 |
XMLFile | この証明書ストアは、XML 形式の証明書を含むファイルの名前です。 |
XMLBlob | この証明書ストアは、XML 形式の証明書を含む文字列の名前です。 |
プライベート証明書を指定するには、CertificateStoreType に加えて次のプロパティを設定する必要があります。
Jira 認証に使用される証明書ストア。
Jira アプリケーション認証で使用されるクライアント証明書の証明書ストアの場所。
Jira プライベートアプリケーション認証で使用される証明書のサブジェクト。
Jira プライベートアプリケーション認証で使用されるクライアント証明書のサブジェクト。
Jira プライベートアプリケーション認証では、デジタル証明書によるSSL クライアント認証が使用されます。
証明書のサブジェクトは、証明書をロードするときにストア内の証明書を検索するために使用されます。
証明書のサブジェクトは識別の名前フィールドおよび値のカンマ区切りのリストです。 例えば、"CN=www.server.com, OU=test, C=US, E=support@cdata.com"。共通のフィールドとその説明は以下のとおりです。
フィールド | 説明 |
CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
O | 法人名 |
OU | 法人の部署名 |
L | 法人の住所(市町村名) |
S | 法人の住所(都道府県) |
C | 国名 |
E | E メールアドレス |
Note:フィールド値にカンマが含まれている場合は、それを引用符で囲む必要があります。
プライベート証明書を指定するには、CertificateSubject を設定し、さらに次のプロパティを設定する必要があります。
Jira 認証で使用される証明書ストアのパスワード。
証明書ストアでパスワードが必要である場合、このプロパティを使用してパスワードを指定し、証明書ストアにアクセスできます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
プロパティ | 説明 |
SSLClientCert | SSL クライアント認証(2-way SSL)のためのTLS/SSL クライアント証明書ストア。 |
SSLClientCertType | TLS/SSL クライアント証明書を格納するキーストアの種類。 |
SSLClientCertPassword | TLS/SSL クライアント証明書のパスワード。 |
SSLClientCertSubject | TLS/SSL クライアント証明書のサブジェクト。 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
SSL クライアント認証(2-way SSL)のためのTLS/SSL クライアント証明書ストア。
クライアント証明書のための証明書ストア名。
SSLClientCertType フィールドは、SSLClientCert により指定された証明書ストアの種類を指定します。ストアがパスワードで保護されている場合は、SSLClientCertPassword でパスワードを指定します。
SSLClientCert は、SSLClientCertSubject フィールドとともにクライアント証明書を指定するために使われます。SSLClientCert に値がある場合で、SSLClientCertSubject が設定されている場合は、証明書の検索が始まります。詳しくは、SSLClientCertSubject を参照してください。
証明書ストアの指定はプラットフォームに依存します。
Windows の共通のユーザとシステム証明書ストアの指定は以下のとおりです。
MY | 個人証明書と関連付けられた秘密キーを格納している証明書ストア。 |
CA | 証明機関の証明書。 |
ROOT | ルート証明書。 |
SPC | ソフトウェア発行元証明書。 |
Javaでは、証明書ストアは通常、証明書および任意の秘密キーを含むファイルです。
証明書ストアの種類がPFXFile の場合は、このプロパティにファイル名を設定します。PFXBlob の場合は、このプロパティをPFX ファイルのバイナリコンテンツ(例えば、PKCS12証明書ストア)に設定する必要があります。
TLS/SSL クライアント証明書を格納するキーストアの種類。
このプロパティには次の値の一つを設定できます。
USER - デフォルト | Windows の場合、現在のユーザーにより所有された証明書ストアであることを指定します。この種類はJava では利用できませんので注意してください。 |
MACHINE | Windows の場合、この証明書ストアがシステムストアであることを指定します。この種類はJava では利用できませんので注意してください。 |
PFXFILE | この証明書ストアは、証明書を含むPFX(PKCS12)ファイルの名前です。 |
PFXBLOB | この証明書ストアは、PFX(PKCS12)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 |
JKSFILE | この証明書ストアは、証明書を含むJava key store(JKS)ファイルの名前です。この種類はJava でのみ利用できますので注意してください。 |
JKSBLOB | この証明書ストアは、Java key store(JKS)形式の証明書ストアを表すBase-64でエンコードされた文字列です。この種類はJava でのみ利用できますので注意してください。 |
PEMKEY_FILE | この証明書ストアは、秘密キーと任意の証明書を含むPEM でエンコードされたファイルの名前です。 |
PEMKEY_BLOB | この証明書ストアは、秘密キーと任意の証明書を含むBase-64でエンコードされた文字列です。 |
PUBLIC_KEY_FILE | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むファイルの名前です。 |
PUBLIC_KEY_BLOB | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むBase-64でエンコードされた文字列です。 |
SSHPUBLIC_KEY_FILE | この証明書ストアは、SSH 公開キーを含むファイルの名前です。 |
SSHPUBLIC_KEY_BLOB | この証明書ストアは、SSH 公開キーを含むBase-64でエンコードされた文字列です。 |
P7BFILE | この証明書ストアは、証明書を含むPKCS7 ファイルの名前です。 |
PPKFILE | この証明書ストアは、PuTTY 秘密キー(PPK)を含むファイルの名前です。 |
XMLFILE | この証明書ストアは、XML 形式の証明書を含むファイルの名前です。 |
XMLBLOB | この証明書ストアは、XML 形式の証明書を含む文字列の名前です。 |
TLS/SSL クライアント証明書のパスワード。
証明書ストアでパスワードが必要である場合、このプロパティを使用してパスワードを指定し、証明書ストアにアクセスできます。
TLS/SSL クライアント証明書のサブジェクト。
証明書のサブジェクトは、証明書をロードするときにストア内の証明書を検索するために使用されます。
完全に一致するものが見つからない場合、ストアはプロパティの値を含むサブジェクトを検索します。それでも一致するものが見つからない場合、プロパティは空白で設定され、証明書は選択されません。
"*" に設定すると、証明書ストアの1番目の証明書が選択されます。
証明書のサブジェクトは識別の名前フィールドおよび値のカンマ区切りのリストです。例えば、"CN=www.server.com, OU=test, C=US, E=support@company.com" です。共通のフィールドとその説明は以下のとおりです。
フィールド | 説明 |
CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
O | 法人名 |
OU | 法人の部署名 |
L | 法人の住所(市町村名) |
S | 法人の住所(都道府県) |
C | 国名 |
E | Eメールアドレス |
フィールド値にカンマが含まれている場合は、それを引用符で囲む必要があります。
TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
説明 | 例 |
フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
プロパティ | 説明 |
FirewallType | プロキシベースのファイアウォールで使われるプロトコル。 |
FirewallServer | プロキシベースのファイアウォールの名前もしくはIP アドレス。 |
FirewallPort | プロキシベースのファイアウォールのTCP ポート。 |
FirewallUser | プロキシベースのファイアウォールに認証するために使うユーザー名。 |
FirewallPassword | プロキシベースのファイアウォールへの認証に使われるパスワード。 |
プロキシベースのファイアウォールで使われるプロトコル。
このプロパティは、Sync App がFirewallServer プロキシ経由でトンネルトラフィックを使うためのプロトコルを指定します。デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し次のプロキシタイプのどれかで接続するには、ProxyAutoDetect をfalse に設定します。
タイプ | デフォルトポート | 説明 |
TUNNEL | 80 | これが設定されている場合、Sync App はJira への接続を開き、プロキシを経由して通信が行われます。 |
SOCKS4 | 1080 | これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 4 プロキシ経由で送信し、接続リクエストが許容されるかどうかを決定します。 |
SOCKS5 | 1080 | これが設定されている場合、Sync App はデータをFirewallServer およびFirewallPort で指定されたSOCS 5 プロキシ経由で送信します。プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
プロキシベースのファイアウォールの名前もしくはIP アドレス。
ファイアウォールトラバーサルを許容するために設定するIP アドレス、DNS 名、もしくはプロキシホスト名を指定するプロパティです。プロトコルはFirewallType で指定されます。このプロパティとFirewallServer を使って、SOCKS 経由での接続、もしくはトンネリングが可能です。HTTP プロキシへの接続には、ProxyServer を使用します。
Sync App はデフォルトでシステムプロキシを使うので注意してください。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定してください。
プロキシベースのファイアウォールのTCP ポート。
ファイアウォールトラバーサルを許容するために設定するプロキシベースのファイアウォールのTCP ポート。名前もしくはIP アドレスを指定するには、FirewallServer を使います。FirewallType でプロトコルを指定します。
プロキシベースのファイアウォールに認証するために使うユーザー名。
FirewallUser およびFirewallPassword プロパティは、FirewallType により指定された認証方式に則り、FirewallServer、およびFirewallPort で指定されたプロキシに対しての認証に使われます。
プロキシベースのファイアウォールへの認証に使われるパスワード。
このプロパティは、FirewallType により指定された認証メソッドに則り、FirewallServer およびFirewallPort で指定されたプロキシに渡されます。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
プロパティ | 説明 |
ProxyAutoDetect | これは、システムプロキシ設定を使用するかどうかを示します。 |
ProxyServer | HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。 |
ProxyPort | ProxyServer プロキシが起動しているTCP ポート。 |
ProxyAuthScheme | ProxyServer プロキシへの認証で使われる認証タイプ。 |
ProxyUser | ProxyServer プロキシへの認証に使われるユーザー名。 |
ProxyPassword | ProxyServer プロキシへの認証に使われるパスワード。 |
ProxySSLType | ProxyServer プロキシへの接続時に使用するSSL タイプ。 |
ProxyExceptions | ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
これは、システムプロキシ設定を使用するかどうかを示します。
これは他のプロキシ設定よりも優先されるため、カスタムプロキシ設定を使用するにはProxyAutoDetect をFALSE に設定する必要があります。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。
HTTP トラフィックをルートするためのプロキシのホストネームもしくはIP アドレス。HTTP プロキシへの認証には、Sync App はHTTP、Windows(NTLM)、もしくはKerberos 認証タイプを使用することができます。
SOCKS プロキシを経由して接続する、もしくは接続をトンネルするには、FirewallType を参照してください。
デフォルトで、Sync App はsystem プロキシを使います。他のプロキシを使う場合には、ProxyAutoDetect をfalse に設定します。
ProxyServer プロキシが起動しているTCP ポート。
HTTP トラフィックをリダイレクトするHTTP プロキシが実行されているポート。ProxyServer でHTTP プロキシを指定します。その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer プロキシへの認証で使われる認証タイプ。
この値は、ProxyServer およびProxyPort で指定されるHTTP プロキシに認証するために使われる認証タイプを指定します。
Sync App は、デフォルトでsystem proxy settings を使い、追加での設定が不要です。他のプロキシへの接続をする場合には、ProxyServer およびProxyPort に加え、ProxyAutoDetect をfalse に設定します。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。
認証タイプは、次のどれかになります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer プロキシへの認証に使われるユーザー名。
ProxyUser および ProxyPassword オプションは、ProxyServer で指定されたHTTP プロキシに対して接続および認証するために使用されます。
ProxyAuthScheme で使用可能な認証タイプを選択することができます。HTTP 認証を使う場合、これをHTTP プロキシで識別可能なユーザーのユーザー名に設定します。Windows もしくはKerberos 認証を使用する場合、このプロパティを次の形式のどれかでユーザー名に設定します。
user@domain domain\user
ProxyServer プロキシへの認証に使われるパスワード。
このプロパティは、NTLM(Windows)、Kerberos、もしくはHTTP 認証をサポートするHTTP プロキシサーバーに認証するために使われます。HTTP プロキシを指定するためには、ProxyServer およびProxyPort を設定します。認証タイプを指定するためにはProxyAuthScheme を設定します。
HTTP 認証を使う場合、さらにHTTP プロキシにProxyUser およびProxyPassword を設定します。
NTLM 認証を使う場合、Windows パスワードにProxyUser およびProxyPassword を設定します。Kerberos 認証には、これらを入力する必要があります。
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
デフォルトで、Sync App はsystem プロキシを使います。他のプロキシに接続する場合には、これをfalse に設定します。
ProxyServer プロキシへの接続時に使用するSSL タイプ。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この値は、AUTO、ALWAYS、NEVER、TUNNEL のいずれかです。有効な値は次のとおりです。
AUTO | デフォルト設定。URL がHTTPS URL の場合、Sync App は、TUNNEL オプションを使います。URL がHTTP URL の場合、コンポーネントはNEVER オプションを使います。 |
ALWAYS | 接続は、常にSSL 有効となります。 |
NEVER | 接続は、SSL 有効になりません。 |
TUNNEL | 接続は、トンネリングプロキシを経由します。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Sync App は、追加設定なしにデフォルトでシステムのプロキシ設定を使います。この接続のプロキシ例外を明示的に構成するには、ProxyAutoDetect をfalse に設定して、ProxyServer およびProxyPort を設定する必要があります。認証するには、ProxyAuthScheme を設定し、必要な場合にはProxyUser およびProxyPassword を設定します。
ログファイルに含めるコアモジュール。
指定された(';' で区切られた)モジュールのみがログファイルに含まれます。デフォルトではすべてのモジュールが含まれます。
概要はログ ページを参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
プロパティ | 説明 |
Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
Tables | このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。 |
Views | 使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリへのパス。
Sync App のスキーマファイル(テーブルとビューの場合は.rsd ファイル、ストアドプロシージャの場合は.rsb ファイル)を含むディレクトリへのパス。このフォルダの場所は、実行ファイルの場所からの相対パスにすることができます。Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は"%APPDATA%\\CData\\JIRA Data Provider\\Schema" となり、%APPDATA% はユーザーのコンフィギュレーションディレクトリに設定されます:
Platform | %APPDATA% |
Windows | APPDATA 環境変数の値 |
Linux | ~/.config |
このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。
このプロパティは、使用可能なテーブルのサブセットにレポートされるテーブルを制限します。例えば、Tables=TableA,TableB,TableC です。
テーブルを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でテーブルのリストを提供すると、Sync App のパフォーマンスが向上します。
このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。
カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。
使用可能なテーブルのサブセットにレポートされるビューを制限します。例えば、Views=ViewA,ViewB,ViewC です。
ビューを複数のデータベースからリストすると、負荷がかかる可能性があります。接続文字列でビューのリストを提供すると、Sync App のパフォーマンスが向上します。
このプロパティは、作業したいビューがすでにわかっていて、ビューが多すぎる場合に、ビューを自動的にリストする代わりに使用することもできます。
カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
複数のスキーマまたはカタログを持つデータソースに接続する場合は、複数のカタログやスキーマに存在するテーブル間の曖昧さを避けるため、最後の例のように、このプロパティにテーブルの完全修飾名を指定する必要があることに注意してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
プロパティ | 説明 |
IncludeCustomFields | A boolean indicating if you would like to include custom fields in the column listing. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
MaxThreads | コンカレントリクエスト数を指定します。 |
Other | これらの隠しプロパティは特定のユースケースでのみ使用されます。 |
Pagesize | Jira から返されるページあたりの結果の最大数。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
Timezone | Specify the timezone of the Jira instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York. |
UseDefaultOrderBy | Indicates if a default order by should be applied if none is specified in the query. |
UseDisplayNames | Boolean determining if the display names for custom fields should be used instead of the API names. |
UserDefinedViews | カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。 |
UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを決定するboolean。 |
A boolean indicating if you would like to include custom fields in the column listing.
Setting this to true will cause custom fields to be included in the column listing, but may cause poor performance when listing metadata.
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
コンカレントリクエスト数を指定します。
このプロパティを使用すると複数のリクエストを同時に発行できるため、パフォーマンスが向上します。
これらの隠しプロパティは特定のユースケースでのみ使用されます。
以下にリストされているプロパティは、特定のユースケースで使用可能です。通常のドライバーのユースケースおよび機能では、これらのプロパティは必要ありません。
複数のプロパティをセミコロン区切りリストで指定します。
DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
ConvertDateTimeToGMT | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換するかどうかを決定します。 |
RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
Jira から返されるページあたりの結果の最大数。
Pagesize プロパティは、Jira から返されるページあたりの結果の最大数に影響を与えます。より大きい値を設定すると、1ページあたりの消費メモリが増える代わりに、パフォーマンスが向上する場合があります。
このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。
タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。
Timeout の有効期限が切れても処理が完了していない場合は、Sync App は例外をスローします。
Specify the timezone of the Jira instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York.
Note: You can find the timezone in your Jira Cloud by navigating to Settings -> System -> General configuration -> Default user time zone
Indicates if a default order by should be applied if none is specified in the query.
By default, the CData Sync App applies an order by when none is specified. This ensures that duplicate records do not get output when returning data. However, this will have a significant impact on performance for very large tables. If your use case can handle the possibility of duplicate primary keys, it is recommended to turn this off if you would like to have better performance.
Boolean determining if the display names for custom fields should be used instead of the API names.
Boolean determining if the display names for custom fields should be used instead of the API names.
カスタムビューを含むJSON コンフィギュレーションファイルを指すファイルパス。
ユーザー定義ビューは、UserDefinedViews.json というJSON 形式のコンフィギュレーションファイルで定義されています。Sync App は、このファイルで指定されたビューを自動的に検出します。
また、複数のビュー定義を持ち、UserDefinedViews 接続プロパティを使用して制御することも可能です。このプロパティを使用すると、指定されたビューのみがSync App によって検知されます。
このユーザー定義ビューのコンフィギュレーションファイルは、次のようにフォーマットされています。
次に例を示します。
{ "MyView": { "query": "SELECT * FROM Projects WHERE MyColumn = 'value'" }, "MyView2": { "query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)" } }UserDefinedViews 接続プロパティを使用して、JSON コンフィギュレーションファイルの場所を指定します。次に例を示します。
"UserDefinedViews", C:\Users\yourusername\Desktop\tmp\UserDefinedViews.json指定されたパスは引用符で囲まれていないことに注意してください。
テーブルとカラムに簡略名を使用するかどうかを決定するboolean。
Jira テーブルおよびカラムでは、 通常のデータベースでは使うことが認められていない特殊記号・文字を名前に使うことができます。UseSimpleNames を使用すると、Sync App を従来のデータベースツールでより簡単に使用できるようになります。
UseSimpleNames をtrue に設定し、返されるテーブル名およびカラム名をシンプルにします。表示されるテーブル名 およびカラム名においてアルファベット文字およびアンダースコアのみを有効とするネーミングスキームを強制します。 英数字以外の文字はすべて、アンダースコアに変換されます。