集会:确定父级用户故事的发布 [英] RALLY: Determine a parent User Story's release

查看:53
本文介绍了集会:确定父级用户故事的发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Rally中,我们具有以下故事结构:

In Rally we have the following story structure:

父母的故事1
| __子故事1
|   | __儿童故事1
|   | __儿童故事2
|
| __子故事2
    | __儿童故事3
    | __子故事3
         | _ 儿童故事4

Parent Story 1
|__ Sub Story 1
|   |__ Child Story 1
|   |__ Child Story 2
|
|__ Sub Story 2
    |__ Child Story 3
    |__ Sub Story 3
         |_ Child Story 4

我想查看所有父级故事及其当前计划发布的版本.父级故事包含子级故事后,其发布值不可编辑,因为它设置在较低的故事中.有没有一种方法可以确定只需要打一次Rally就能完成故事的发行版本?

I want to make a view of all Parent stories and what release they are currently scheduled in. Once the Parent story has child stories it's release value is not editable because it is set in a lower story. Is there a way to determine what release the story would be completed in with only making 1 call to Rally?

谢谢!

推荐答案

我找到的最简单的解决方案是执行以下操作:

The easiest solution I have found is to do the following:

var epicLevelStories = {
    key: 'epics',
    type: 'hierarchicalrequirement',
    fetch: 'FormattedID,Name,ObjectID,Release'
    query: epicQuery,
    order: 'FormattedID'
};

var epicLevel2Stories = {
    key: 'epiclevel2',
    placeholder: '${epics.children?fetch=Name,FormattedID,Parent,Release}'
};

var epicLevel3Stories = {
    key: 'epiclevel3',
    placeholder: '${epiclevel2.children?fetch=Name,FormattedID,Parent,Release}'
};

var queryArray = [epicLevelStories, epicLevel2Stories, epicLevel3Stories];
rallyDataSource.findAll(queryArray, doStuffWithResults);

一旦获得没有条目的结果集(epiclevel#),就知道您已经到达树的底部.

Once you get a result set (epiclevel#) that has no entries you know you have reached the bottom of the tree.

我猜如果epiclevel3仍然有故事,那么您可以为接下来的3个级别构建一个新的查询数组,然后递归调用相同的"doStuffWithResults"方法.只是一个想法.我还没有测试过.

I'm guessing if epiclevel3 still has stories then you could build a new query array for the next 3 levels and recursively call the same "doStuffWithResults" method. Just a thought. I haven't tested that.

这篇关于集会:确定父级用户故事的发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆