好的,我了解如何插入任务并将其与用户故事相关联,但现在我如何插入用户故事并将其与工作区和项目相关联。这是我到目前为止所拥有的..
DynamicJsonObject toCreate = new DynamicJsonObject();
toCreate["Name"] = "My Test User Story";
toCreate["Description"] = "This is the description of the test User Story";
// these do not exist
//toCreate["Iteration.Name"] = "Iteration Name";
//toCreate["Workspace.ObjectID"] = "123456";
//toCreate["Project.ObjectID"] = "456789";
CreateResult createResult = _restApi.Create("hierarchicalrequirement", toCreate);
bool success = createResult.Success;