![](/img/trans.png)
[英]Could not find “Estimated Work” field in Azure DevOps REST API
[英]Could not retrieve label of a custom field with Azure DevOps API
我正在將我們的產品與 Azure DevOps 集成,但目前我無法檢索自定義字段的標簽。 我無法使用 name 屬性,因為該名稱不反映 Azure DevOps 的更改。
我正在使用“ https://dev.azure.com/ {organize}/{projectId}/_apis/wit/fields/Custom.NewHungField” API 來獲取有關自定義字段的信息,但它不返回場地。
謝謝你。
是的,使用Fields時找不到標簽-直接獲取。 但是您可以使用Work Item Types - Get查看自定義文件的標簽。
有關更多信息,您可以查看以下演示:
使用 API:
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypes/{type}?api-version=5.1
得到回應:
您可以在其中找到自定義字段的標簽。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.