【发布时间】:2017-03-14 22:28:13
【问题描述】:
我需要使用针对特定工作项类型的 TFS 2015 REST API 获取字段(不在全局列表中)中的允许值列表。我知道我可以使用 Get a work item field 获取有关字段的信息,但这似乎没有给我响应中允许的值。
{
"name": "Iteration Path",
"referenceName": "System.IterationPath",
"type": "treePath",
"readOnly": true,
"supportedOperations": [
{
"referenceName": "SupportedOperations.Under",
"name": "Under"
},
{
"referenceName": "SupportedOperations.NotUnder",
"name": "Not Under"
},
{
"referenceName": "SupportedOperations.Equals",
"name": "="
},
{
"referenceName": "SupportedOperations.NotEquals",
"name": "<>"
},
{
"referenceName": "SupportedOperations.In",
"name": "In"
}
],
"url": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/wit/fields/System.IterationPath"
}
看起来像 someone on the MSDN forums posted this 早在 6 月,但我想再次检查这是否仍然不可用。
【问题讨论】:
标签: c# rest tfs azure-devops