ProjectVersions
Query,create, modify and delete the available Versions of a project in Jira.
テーブル固有の情報
Select
connector はJira API を使用して一部のフィルタを処理します。connector は他のフィルタをconnector 内で処理します。 例えば、次のクエリはサーバー側で処理されます。
すべてのプロジェクトのバージョンを取得:
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. | ||
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. |