TFS WorkItemRelation 属性对象?
TFS WorkItemRelation Attributes Object?
在页面底部,WorkItemRelation 的描述是:
WorkItemRelation
+------------------------------------------------------+
+ Name + Type + Description +
+------------+--------+--------------------------------+
+------------+--------+--------------------------------+
+ attributes + object + Collection of link attributes. +
+------------+--------+--------------------------------+
+ rel + string + Relation type. +
+------------+--------+--------------------------------+
+ url + string + Link url +
+------------+--------+--------------------------------+
什么是属性对象?我找不到它的定义。有没有人用过TFSapi够熟悉了?
该属性是帮助我们识别工作项关系类型的详细属性的对象类型,
您可以轻松地从Work Item Relation Types API
中获取属性的定义
示例:
{
"attributes": {
"usage": "workItemLink",
"editable": false,
"enabled": true,
"acyclic": true,
"directional": true,
"singleTarget": false,
"topology": "tree",
"isForward": true,
"oppositeEndReferenceName": "System.LinkTypes.Duplicate-Reverse"
},
"referenceName": "System.LinkTypes.Duplicate-Forward",
"name": "Duplicate",
"url": "https://dev.azure.com/fabrikam/_apis/wit/workItemRelationTypes/System.LinkTypes.Duplicate-Forward"
}
Attributes
由以下JSON个元素组成,
- 用法
- 可编辑
- 启用
- 无环
- 定向
- 单一目标
- 拓扑
- isForward
- oppositeEndreferenceName
在页面底部,WorkItemRelation 的描述是:
WorkItemRelation
+------------------------------------------------------+
+ Name + Type + Description +
+------------+--------+--------------------------------+
+------------+--------+--------------------------------+
+ attributes + object + Collection of link attributes. +
+------------+--------+--------------------------------+
+ rel + string + Relation type. +
+------------+--------+--------------------------------+
+ url + string + Link url +
+------------+--------+--------------------------------+
什么是属性对象?我找不到它的定义。有没有人用过TFSapi够熟悉了?
该属性是帮助我们识别工作项关系类型的详细属性的对象类型,
您可以轻松地从Work Item Relation Types API
中获取属性的定义示例:
{
"attributes": {
"usage": "workItemLink",
"editable": false,
"enabled": true,
"acyclic": true,
"directional": true,
"singleTarget": false,
"topology": "tree",
"isForward": true,
"oppositeEndReferenceName": "System.LinkTypes.Duplicate-Reverse"
},
"referenceName": "System.LinkTypes.Duplicate-Forward",
"name": "Duplicate",
"url": "https://dev.azure.com/fabrikam/_apis/wit/workItemRelationTypes/System.LinkTypes.Duplicate-Forward"
}
Attributes
由以下JSON个元素组成,
- 用法
- 可编辑
- 启用
- 无环
- 定向
- 单一目标
- 拓扑
- isForward
- oppositeEndreferenceName