Columns - Update
ボード上の列を更新する
PUT https://dev.azure.com/{organization}/{project}/{team}/_apis/work/boards/{board}/columns?api-version=7.1-preview.1
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
board
|
path | True |
string |
特定のボードの名前または ID |
organization
|
path | True |
string |
Azure DevOps 組織の名前です。 |
project
|
path | True |
string |
プロジェクト ID またはプロジェクト名 |
team
|
path |
string |
チーム ID またはチーム名 |
|
api-version
|
query | True |
string |
使う API のバージョン。 このバージョンの API を使用するには、これを '7.1-preview.1' に設定する必要があります。 |
要求本文
名前 | 型 | 説明 |
---|---|---|
body |
更新するボード列の一覧 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功した操作 |
セキュリティ
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
名前 | 説明 |
---|---|
vso.work_write | 作業項目とクエリの読み取り、作成、更新、ボード メタデータの更新、読み取り領域とイテレーション パス、関連するメタデータの追跡、クエリの実行、サービス フックを介した作業項目イベントに関する通知の受信を行う機能を付与します。 |
例
Update columns on a board
Sample Request
PUT https://dev.azure.com/fabrikam/Fabrikam/Fabrikam Team/_apis/work/boards/{board}/columns?api-version=7.1-preview.1
[
{
"id": "12eed5fb-8af3-47bb-9d2a-058fbe7e1196",
"name": "New",
"itemLimit": 0,
"stateMappings": {
"Product Backlog Item": "New",
"Bug": "New"
},
"columnType": "incoming"
},
{
"id": "5f72391d-af1c-4754-9459-23138eba13e3",
"name": "Approved",
"itemLimit": 5,
"stateMappings": {
"Product Backlog Item": "Approved",
"Bug": "Approved"
},
"isSplit": false,
"description": "",
"columnType": "inProgress"
},
{
"id": "4ddb0875-547e-4d2c-b36a-4ea9a1f7be41",
"name": "Committed",
"itemLimit": 5,
"stateMappings": {
"Product Backlog Item": "Committed",
"Bug": "Committed"
},
"isSplit": false,
"description": "",
"columnType": "inProgress"
},
{
"id": "1016c466-6cb6-4bf9-9a19-4e9cc88204df",
"name": "Done",
"itemLimit": 0,
"stateMappings": {
"Product Backlog Item": "Done",
"Bug": "Done"
},
"columnType": "outgoing"
}
]
Sample Response
{
"count": 4,
"value": [
{
"id": "12eed5fb-8af3-47bb-9d2a-058fbe7e1196",
"name": "New",
"itemLimit": 0,
"stateMappings": {
"Product Backlog Item": "New",
"Bug": "New"
},
"columnType": "incoming"
},
{
"id": "5f72391d-af1c-4754-9459-23138eba13e3",
"name": "Approved",
"itemLimit": 5,
"stateMappings": {
"Product Backlog Item": "Approved",
"Bug": "Approved"
},
"isSplit": false,
"description": "",
"columnType": "inProgress"
},
{
"id": "4ddb0875-547e-4d2c-b36a-4ea9a1f7be41",
"name": "Committed",
"itemLimit": 5,
"stateMappings": {
"Product Backlog Item": "Committed",
"Bug": "Committed"
},
"isSplit": false,
"description": "",
"columnType": "inProgress"
},
{
"id": "1016c466-6cb6-4bf9-9a19-4e9cc88204df",
"name": "Done",
"itemLimit": 0,
"stateMappings": {
"Product Backlog Item": "Done",
"Bug": "Done"
},
"columnType": "outgoing"
}
]
}
定義
名前 | 説明 |
---|---|
Board |
|
Board |
BoardColumn
名前 | 型 | 説明 |
---|---|---|
columnType | ||
description |
string |
|
id |
string |
|
isSplit |
boolean |
|
itemLimit |
integer |
|
name |
string |
|
stateMappings |
object |
BoardColumnType
名前 | 型 | 説明 |
---|---|---|
inProgress |
string |
|
incoming |
string |
|
outgoing |
string |