Javascript Rally 2.0p5 API:为rallyiterationcombobox设置项目
在搜索2.0p5文档时,我找不到为rallyiterationcombobox设置项目的方法。因此,它显示了错误的迭代。与rallyteamcombobox一样,我添加了一个项目键/值对,但似乎被忽略了。如何使用rallyiterationcombobox选择与其他项目关联的迭代?在深入研究rallyiterationcombobox类后,我决定扩展它。我添加了一个字段,现在它做了我想要的Javascript Rally 2.0p5 API:为rallyiterationcombobox设置项目,javascript,rally,Javascript,Rally,在搜索2.0p5文档时,我找不到为rallyiterationcombobox设置项目的方法。因此,它显示了错误的迭代。与rallyteamcombobox一样,我添加了一个项目键/值对,但似乎被忽略了。如何使用rallyiterationcombobox选择与其他项目关联的迭代?在深入研究rallyiterationcombobox类后,我决定扩展它。我添加了一个字段,现在它做了我想要的 (function () { var Ext = window.Ext4 || window.Ext;
(function ()
{
var Ext = window.Ext4 || window.Ext;
Ext.define('Rally.ui.combobox.ProjectIterationComboBox', {
extend: 'Rally.ui.combobox.IterationComboBox',
alias: 'widget.rallyprojectiterationcombobox',
initComponent: function()
{
this.config.storeConfig.context.project = this.project;
this.callParent(arguments);
},
});
})();