成功使用 VersionOne API 使用 REST API 创建故事。不幸的是,描述字段似乎去除了所有 xml 标签。(网上的例子使用
,但这不起作用)
所以有类似的东西:
POST /VersionOne/rest-1.v1/Data/Story HTTP/1.1
Content-Type: text/xml; charset=utf-8
Content-Length: 221
<Asset>
<Attribute name="Name" act="set">New Story</Attribute>
<Relation name="Scope" act="set">
<Asset idref="Scope:0" />
</Relation>
<Attribute name="Description" act="set">
<p>first line</p>
<p> second line</p>
</Attribute>
</Asset>
有什么方法可以插入格式?基本上,我们将此作为一个故事来测试我们最近创建的工件,并希望参考工件中包含的缺陷/故事。非常感谢任何帮助,谢谢。