0

如何将变更集链接到工件?创建变更集时,我在休息客户端中指定了一个缺陷

{"changeset":{
"Message":"1234 abcd",
"Artifact":"/defect/567890",
"SCMRepository":"/scmrepository/123456",
"Revision":"1",
"CommitTimestamp":"2013-10-08"
}}

已创建变更集但未链接到缺陷

4

1 回答 1

0

Artifacts变更集对象上有集合,但Artifact变更集没有属性。

要链接到工件,请按如下方式修改请求正文:

{"changeset":{
"Message":"1234 abcd",
"Artifacts":{"Artifact":"/defect/14537223513"},
"SCMRepository":"/scmrepository/5960544988",
"Revision":"1",
"CommitTimestamp":"2013-10-08"
}}
于 2013-10-08T23:04:42.000 回答