Columns - List
Mendapatkan kolom di papan
GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/boards/{board}/columns?api-version=7.1-preview.1
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
board
|
path | True |
string |
Nama atau ID papan tertentu |
organization
|
path | True |
string |
Nama organisasi Azure DevOps. |
project
|
path | True |
string |
ID proyek atau nama proyek |
team
|
path |
string |
ID tim atau nama tim |
|
api-version
|
query | True |
string |
Versi API yang akan digunakan. Ini harus diatur ke '7.1-preview.1' untuk menggunakan versi api ini. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
operasi berhasil |
Keamanan
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
Nama | Deskripsi |
---|---|
vso.work | Memberikan kemampuan untuk membaca item kerja, kueri, papan, jalur perulangan dan area, serta metadata terkait pelacakan item kerja lainnya. Juga memberikan kemampuan untuk menjalankan kueri, mencari item kerja, dan menerima pemberitahuan tentang peristiwa item kerja melalui kait layanan. |
Contoh
Get board columns by board |
Get board columns by board |
Get board columns by boardId
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam/Fabrikam Team/_apis/work/boards/{board}/columns?api-version=7.1-preview.1
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"
}
]
}
Get board columns by boardName
Sample Request
GET https://dev.azure.com/fabrikam/Fabrikam/Fabrikam Team/_apis/work/boards/{board}/columns?api-version=7.1-preview.1
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"
}
]
}
Definisi
Nama | Deskripsi |
---|---|
Board |
|
Board |
BoardColumn
Nama | Jenis | Deskripsi |
---|---|---|
columnType | ||
description |
string |
|
id |
string |
|
isSplit |
boolean |
|
itemLimit |
integer |
|
name |
string |
|
stateMappings |
object |
BoardColumnType
Nama | Jenis | Deskripsi |
---|---|---|
inProgress |
string |
|
incoming |
string |
|
outgoing |
string |
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk