Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将变更集链接到工件?创建变更集时,我在休息客户端中指定了一个缺陷
{"changeset":{ "Message":"1234 abcd", "Artifact":"/defect/567890", "SCMRepository":"/scmrepository/123456", "Revision":"1", "CommitTimestamp":"2013-10-08" }}
已创建变更集但未链接到缺陷
Artifacts变更集对象上有集合,但Artifact变更集没有属性。
Artifacts
Artifact
要链接到工件,请按如下方式修改请求正文:
{"changeset":{ "Message":"1234 abcd", "Artifacts":{"Artifact":"/defect/14537223513"}, "SCMRepository":"/scmrepository/5960544988", "Revision":"1", "CommitTimestamp":"2013-10-08" }}