|
Using the predefined system fields, I would like to add on who created the work item, date of creation, the last person to modify it, and when the last modifications were made.
This is not a problem .. or is it?
It seems that System.ChangedBy is being populated with the "currentuser" who is viewing the work item regardless if he/she has made any changes rather then the the last user who commited changes to the system. System.ChangedBy is updating PRIOR to the save and commit.
Interesting enough the field System.ChangedDate is not being populated with the current date that the work item was opened, but rather when the last changes were commited. The System.ChangedDate updates AFTER a save but prior to the commit.
So how does one actually retrieve the value stored in TfsWorkItemTrack.dbo.WorkItemsLatest.ChangedBy field in the backend server for a given work item without having the true value of the field overwritten by your own name? |