1
我是Rally Custom App開發的新手。我創建了一個自定義Html應用程序,它將在Rally中創建多個迭代。目前這個應用程序在工作區下的單個項目中效果很好,但是我需要一些幫助來擴展此代碼以在工作區下的所有項目中創建迭代。創建批量迭代並將其級聯到父項目下的所有子項目。請分享一些輸入內容嗎?Rally SDK - 獲取工作區下的所有項目並創建迭代
var record = Ext.create(this.model, {
Name: 'Sprint' + ' ' + Itnumber,
StartDate: stdt1,
EndDate: enddt,
State: 'Planning'
});
record.save({
callback: function (result, operation) {
if (operation.wasSuccessful()) {
//Get the new defect's objectId
var objectId = result.get('ObjectID');
// alert(objectId);
}
else
console.log(operation.getError());
//alert("Error in saving :" +operation.getError());
}
});
stdt1 = Ext.Date.add(new Date(enddt), Ext.Date.DAY, 1);
太棒了。謝謝凱爾和凱蒂。你的解決方案效果很好感謝您的大力幫助。 –