我正在尝试在 Rally 中创建一个新故事。
使用:https ://rally1.rallydev.com/slm/webservice/1.40/RallyService 下面是代码
var parentStory = rallyService.query(Workspace, Projs["xxx"], true, true, "HierarchicalRequirement", query, "", true, 1, 20).Results[0] as HierarchicalRequirement;
var tag = new Tag[1];
tag[0] = new Tag()
{
Archived = true,
ArchivedSpecified = true,
CreationDate = DateTime.Now,
CreationDateSpecified = true,
Name = tagName,
};
var childStory = new HierarchicalRequirement
{
Name = feedback.FeedBackSubject,
Description = feedback.FeedBackDescription,
Parent = parentStory,
Owner = parentStory.Owner,
Tags = tag
};
return rallyService.create(childStory);
我收到以下错误:无法为标签设置值:无法在属性标签中使用类型 ObjectReference
谢谢