programmatic "last updated"?
![](http://jazz.net/_images/myphoto/66e177e2048ef539f521aa8ee20ae030.jpg)
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
![](http://jazz.net/_images/myphoto/66e177e2048ef539f521aa8ee20ae030.jpg)
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?
![](http://jazz.net/_images/myphoto/66e177e2048ef539f521aa8ee20ae030.jpg)
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