如何将变更集链接到工件?我在创建变更集时在rest客户端中指定了缺陷
{"changeset":{
"Message":"1234 abcd",
"Artifact":"/defect/567890",
"SCMRepository":"/scmrepository/123456",
"Revision":"1",
"CommitTimestamp":"2013-10-08"
}}
创建了变更集,但没有链接到缺陷
答案 0 :(得分:0)
变更集对象上有Artifacts
个集合,但变更集上没有Artifact
属性。
要链接到工件,请按如下所示修改Request Body:
{"changeset":{
"Message":"1234 abcd",
"Artifacts":{"Artifact":"/defect/14537223513"},
"SCMRepository":"/scmrepository/5960544988",
"Revision":"1",
"CommitTimestamp":"2013-10-08"
}}