如何创建用户故事并映射现有功能ID。以下是我的代码段。 J
sonObject newEpic = new JsonObject();
newEpic.addProperty("Name", "Test User story");
newEpic.addProperty("Workspace", "/workspace/59461540346");
newEpic.addProperty("Project", "/project/1575156879");
newEpic.addProperty("Owner", UserInfo("xxxxx", rallyRestApi));
newEpic.addProperty("Feature", "/feature/29047088908");
CreateRequest createRequest1 = new CreateRequest("hierarchicalrequirement", newEpic);
CreateResponse createResponse1 = rallyRestApi.create(createRequest1);
以上代码在集会中创建了用户故事,但未与功能映射。 我怎样才能做到这一点?任何想法
答案 0 :(得分:1)
也许更改此行:
newEpic.addProperty("Feature", "/feature/29047088908");
对此:
newEpic.addProperty("PortfolioItem", "/feature/29047088908");