Rally 我可以在 IterationComboBox 中包含子项目的迭代吗?

Rally can I include iterations of child projects in IterationComboBox?

我构建了一个带有 Epic 泳线和迭代列的故事地图纸板。有一个迭代选择器可以选择从哪个迭代开始。

我的项目是投资组合中的子项目。每个子项目都有自己的迭代。 (实际上,我们应该在父级别对齐迭代并定义时间框,但我们还没有做到这一点。)一些 Epics 是我项目的本地,其他在父级别,所以兄弟项目中也有故事。

应用程序在子项目中按预期工作,即它显示该项目中的故事,按 Epic 和 Iteration 分组,从选定的迭代开始。

如果它是 运行 在父项目中,它应该显示来自父项目的故事和按 Epic 和 Iteration 分组的所有子项目(因此 Iteration 列将是子项目迭代的混合)。

问题是当上下文是父项目时,迭代下拉列表不会填充。如果没有选定的开始迭代,则不会加载任何其他内容。

是否可以告诉 IterationComboBox 向下导航到子项目?我尝试将 context:{projectScopeDown: true} 添加到配置对象,但它没有任何效果。

        var me = this;

        var iterComboBox = Ext.create('Rally.ui.combobox.IterationComboBox', {
          itemId: 'iteration-combobox',     // we'll use this item ID later to get the users' selection
          fieldLabel: 'Start from:',
          labelAlign: 'right',
          width: 500,
          listeners: {
            ready: me._loadSchedules,      // initialization flow: next, load schedules
            select: me._loadData,           // user interactivity: when they choose a value, (re)load the data
            scope: me
           },
           context:{
            projectScopeDown: true                              
           }
        });

您很接近 - 您对上下文配置的想法是正确的。迭代组合框实际上采用 storeConfig 属性 将用于实例化其底层存储。您可以在此处传递范围信息:

storeConfig: {
    context: {
        projectScopeDown: true
    }
}

文档:https://docs.ca.com/ca-agile-central/saas/apps/2.1/doc/#!/api/Rally.ui.combobox.IterationComboBox-cfg-storeConfig