programmatic "last updated"?

Is there a way to get the date of the last update to a work item programmatically?
If I look at the work item in the Eclipse or web clients, on the "History" tab, it has various updates and for example, this one says:
Susan M Hanson Aug 30, 2011 2:11 AM
as the "Yesterday" entry.
Is there a way to get this historical entries to get that date?
Susan
If I look at the work item in the Eclipse or web clients, on the "History" tab, it has various updates and for example, this one says:
Susan M Hanson Aug 30, 2011 2:11 AM
as the "Yesterday" entry.
Is there a way to get this historical entries to get that date?
Susan
3 answers

Is there a way to get the date of the last update to a work item programmatically?
If I look at the work item in the Eclipse or web clients, on the "History" tab, it has various updates and for example, this one says:
Susan M Hanson Aug 30, 2011 2:11 AM
as the "Yesterday" entry.
Is there a way to get this historical entries to get that date?
Susan
Susan, have you tried to use workItem.modified() or read the ModifiedDate attribute?

Is there a way to get the date of the last update to a work item programmatically?
If I look at the work item in the Eclipse or web clients, on the "History" tab, it has various updates and for example, this one says:
Susan M Hanson Aug 30, 2011 2:11 AM
as the "Yesterday" entry.
Is there a way to get this historical entries to get that date?
Susan
Susan, have you tried to use workItem.modified() or read the ModifiedDate attribute?
Ah ... I kept trying to use getModified() which wasn't there. by using workItem.modified(), that works fine. I had also gotten the "last comment" date, but that wasn't exactly correct. This is exactly what I need.
Thanks,
Susan