llms.txt : 機械可読形式のドキュメント索引。このページの Markdown バージョンも利用可能です。

YouTrack 開発者ポータルヘルプ

バージョンバンドル

このリソースは、バージョンバンドルを使用した操作を提供します。バージョンバンドルは、version 型のカスタムフィールドで許可される値のセットとして使用されます。

リソース

/api/admin/customFieldSettings/bundles/version

返されたエンティティ

VersionBundle。エンティティ属性の説明については、サポートされているフィールドセクションを参照してください。

サポートされているメソッド

サポートされているサブリソース

VersionBundle の属性

YouTrack の一連のバージョンを表します。

バージョンバンドルは、version 型のカスタムフィールド(たとえば、Fix versions フィールドや Affected versions フィールド)に許可される値のセットとして使用されます。

Related Resources

以下に、このエンティティを操作できるリソースのリストを示します。

  • バージョンバンドル

BaseBundle を拡張

Attributes

このテーブルは、VersionBundle エンティティの属性について説明しています。

  • サーバーからの応答で属性を受け取るには、fields 要求パラメーターでその属性を明示的に指定してください。

  • 属性を更新するには、POST リクエストの本文にそれを指定します。

フィールド

タイプ

説明

id

文字列

バージョンのセットの ID。Read-only

個の値

VersionBundleElements の配列

バンドルに含まれているバージョンのコレクション。

isUpdateable

Boolean

true の場合、現在ログインしているユーザーはこのバンドルを更新できます。それ以外の場合、false Read-only

VersionBundles のリストを読む

システムで利用可能なすべてのバージョンバンドルのリストを取得します。

Request syntax

GET /api/admin/customFieldSettings/bundles/version?{fields}&{$top}&{$skip}

null

VersionBundle のデータベース ID

Request parameters

パラメーター

タイプ

説明

フィールド

文字列

応答で返されるべき VersionBundle 属性のリスト。フィールドが指定されていない場合は、entityID のみが返されます。

$skip

Int

オプション。最初のエンティティを返す前にスキップする、返されるエンティティ数を設定できます。

$top

Int

オプション。応答で返されるエントリの最大数を指定できます。$top 値を設定しない場合、サーバーは返されるエントリの最大数を制限します。

サーバーは、コレクションを返すほとんどのリソースに対して最大 42 のエントリを返します。詳細については、「ページ付け」を参照してください。

Sample

サンプルリクエスト

https://example.youtrack.cloud/api/admin/customFieldSettings/bundles/version?fields=id,name,fieldType(presentation,id),values(id,name,$type)

応答本文のサンプル

[ { "values": [], "name": "Versions", "id": "71-0", "$type": "VersionBundle" }, { "values": [ { "name": "2019.1", "id": "133-19", "$type": "VersionBundleElement" } ], "name": "Sample Project: Versions", "id": "71-1", "$type": "VersionBundle" }, { "values": [], "name": "Rest Api Project: Versions", "id": "71-3", "$type": "VersionBundle" }, { "values": [], "name": "Sandbox: Versions", "id": "71-4", "$type": "VersionBundle" }, { "values": [], "name": "Rest Project: Versions", "id": "71-7", "$type": "VersionBundle" }, { "values": [], "name": "GRA Project: Versions", "id": "71-8", "$type": "VersionBundle" }, { "values": [ { "name": "0.1.0", "id": "133-8", "$type": "VersionBundleElement" }, { "name": "0.1.1", "id": "133-9", "$type": "VersionBundleElement" }, { "name": "0.1.2", "id": "133-10", "$type": "VersionBundleElement" }, { "name": "0.1.3", "id": "133-11", "$type": "VersionBundleElement" }, { "name": "0.2.0", "id": "133-12", "$type": "VersionBundleElement" }, { "name": "0.2.1", "id": "133-13", "$type": "VersionBundleElement" }, { "name": "0.2.2", "id": "133-14", "$type": "VersionBundleElement" }, { "name": "0.2.3", "id": "133-15", "$type": "VersionBundleElement" }, { "name": "0.2.4", "id": "133-16", "$type": "VersionBundleElement" }, { "name": "0.3.0", "id": "133-17", "$type": "VersionBundleElement" }, { "name": "0.3.1", "id": "133-18", "$type": "VersionBundleElement" }, { "name": "8.3.03", "id": "133-20", "$type": "VersionBundleElement" } ], "name": "92-25-1547566402414", "id": "71-10", "$type": "VersionBundle" } ]

新しいバージョンバンドルを追加する

システムに新しいバージョンバンドルを作成します。

Required permissions

権限が必要です: プロジェクトの更新または低レベルの管理者書き込み

Request syntax

POST /api/admin/customFieldSettings/bundles/version?{fields}

null

VersionBundle のデータベース ID

Request parameters

パラメーター

タイプ

説明

フィールド

文字列

応答で返されるべき VersionBundle 属性のリスト。フィールドが指定されていない場合は、entityID のみが返されます。

Sample

サンプルリクエスト

https://example.youtrack.cloud/api/admin/customFieldSettings/bundles/version?fields=id,name,fieldType(presentation,id),values(id,name,$type)

サンプルリクエストボディ

{ "values": [ { "name": "2019.1.1", "$type": "VersionBundleElement" }, { "name": "2019.1.2", "$type": "VersionBundleElement" } ], "name": "Base Versions", "$type": "VersionBundle" }

応答本文のサンプル

{ "values": [ { "name": "2019.1.1", "id": "133-21", "$type": "VersionBundleElement" }, { "name": "2019.1.2", "id": "133-22", "$type": "VersionBundleElement" } ], "name": "Base Versions", "id": "71-11", "$type": "VersionBundle" }
2026 年 7 月 04 日