1

如何在集会上找到缺陷对象的创建日期?

我有一个缺陷对象数组,我可以通过在循环中执行以下操作来找到缺陷的所有属性:

project = defects[i].Project.Name;
environment = defects[i].Environment;

等等我想要的所有其他属性,但 CreationDate 不起作用......

我试过了

creationDate = defects[i].PersistableObject.CreationDate;
creationDate = defects[i].CreationDate;

但它返回“未定义”

有任何想法吗?

谢谢!

4

1 回答 1

0

您是否在请求中包含 CreationDate ?如果是这样,您应该能够像上面那样在每个结果上访问它:

creationDate = defects[i].CreationDate; 
于 2013-05-09T04:29:44.107 回答