ODBC Driver for Jira

Build 22.0.8479

ProjectVersions

Query,create, modify and delete the available Versions of a project in JIRA.

テーブル固有の情報

Select

本製品 はJira API を使用して一部のフィルタを処理します。本製品 は他のフィルタを本製品 内で処理します。 SupportEnhancedSQL をfalse に設定することで、クエリのクライアント側の実行をオフにできます。 例えば、次のクエリはサーバー側で処理されます。

すべてのプロジェクトのバージョンを取得:

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' 

Insert

プロジェクト全体で使用する新しいバージョンを作成します。Name と、ProjectId またはProjectKey いずれかのカラムが必須です。

INSERT INTO ProjectVersions(ProjectId,Name,Description,ReleaseDate,StartDate) VALUES('10000','HR Component','Example version description','2018-04-04','2018-02-02')

Update

変更するバージョンのId カラムを指定して、プロジェクトバージョンを変更します。

UPDATE ProjectVersions SET Released='true' WHERE Id = 10065

Delete

Id カラムを指定して、プロジェクトのバージョンを削除します。

DELETE FROM ProjectVersions WHERE Id = 10065

Columns

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.

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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479