Okay. That worked. Thanks.
Now, my issue (I think my last issue) is that when the status in QC changes to Closed, TFS seems to reject the update. Here is the log:
2010-03-05 09:53:12,209 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_SUMMARY' into 'Title'
2010-03-05 09:53:12,210 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value 'Store Mobility - Phase 3 - Ordering - Lows & Outs displays incorrect values in Review Order screen' (IsTreePath=False, ''/'Store Mobility - Phase 3 - Ordering - Lows & Outs displays incorrect values in Review Order screen')
2010-03-05 09:53:12,210 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_SEVERITY' into 'Severity'
2010-03-05 09:53:12,211 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value '3- Important, Work Around Available' (IsTreePath=False, ''/'3- Important, Work Around Available')
2010-03-05 09:53:12,211 DEBUG JuvanderTFS.TfsConnection (:0) - Field has value map defined: SeverityTFS2QC
2010-03-05 09:53:12,211 DEBUG DataLibrary.ValueMapsClass (:0) - ValueMapping found, changing '3- Important, Work Around Available'->'3 - Medium'
2010-03-05 09:53:12,212 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_PRIORITY' into 'Priority'
2010-03-05 09:53:12,213 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value '' (IsTreePath=False, ''/'')
2010-03-05 09:53:12,213 DEBUG JuvanderTFS.TfsConnection (:0) - Empty field value with no default value
2010-03-05 09:53:12,215 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_RESPONSIBLE' into 'Assigned To'
2010-03-05 09:53:12,215 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value 'dmg5jsw' (IsTreePath=False, ''/'dmg5jsw')
2010-03-05 09:53:12,217 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_PROJECT' into 'Area Path'
2010-03-05 09:53:12,218 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value 'IMS\Store Mobility Phase 3' (IsTreePath=True, 'IMS\Store Mobility Phase 3'/'Store Mobility Phase 3')
2010-03-05 09:53:12,219 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_DEV_COMMENTS' into 'History'
2010-03-05 09:53:12,219 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value '<html><body>Mcnavish, David <dmg5jsw>, 3/4/2010: new queries provided to verify this issue.
________________________________________
Sankar, Ammu <axs8767>, 3/4/2010: Based on the new queries provided by David, retested the issue.
Lows and Outs are working as expected.
New query is attached for reference.
Closing the defect.</body></html>' (IsTreePath=False, ''/'<html><body>Mcnavish, David <dmg5jsw>, 3/4/2010: new queries provided to verify this issue.
________________________________________
Sankar, Ammu <axs8767>, 3/4/2010: Based on the new queries provided by David, retested the issue.
Lows and Outs are working as expected.
New query is attached for reference.
Closing the defect.</body></html>')
2010-03-05 09:53:12,221 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_CLOSING_DATE' into 'Closed Date'
2010-03-05 09:53:12,221 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value '03/04/2010 00:00:00' (IsTreePath=False, ''/'03/04/2010 00:00:00')
2010-03-05 09:53:12,222 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_STATUS' into 'State'
2010-03-05 09:53:12,223 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value 'Closed' (IsTreePath=False, ''/'Closed')
2010-03-05 09:53:12,223 DEBUG JuvanderTFS.TfsConnection (:0) - Field has value map defined: StateStatusQCtoTFS
2010-03-05 09:53:12,223 DEBUG DataLibrary.ValueMapsClass (:0) - ValueMapping found, changing 'Closed'->'Closed'
2010-03-05 09:53:12,230 INFO JuvanderTFS.TfsConnection (:0) - Invalid value 'Closed' for field 'State':'Closed' using default value 'Active' instead.
2010-03-05 09:53:12,236 DEBUG JuvanderTFS.TfsConnection (:0) - Handling default value into field 'AreaID'
2010-03-05 09:53:12,239 DEBUG JuvanderTFS.TfsConnection (:0) - Handling field 'BG_RESPONSIBLE' into 'Assigned To'
2010-03-05 09:53:12,239 DEBUG JuvanderTFS.TfsConnection (:0) - Writing value 'dmg5jsw' (IsTreePath=False, ''/'dmg5jsw')
2010-03-05 09:53:12,240 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - Using LDAP Server:'LDAP://DC=amer,DC=homedepot,DC=com'
2010-03-05 09:53:12,240 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - Trying to resolve user name: dmg5jsw
2010-03-05 09:53:12,258 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - User found
2010-03-05 09:53:12,259 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - name = Mcnavish, David
2010-03-05 09:53:12,259 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - adspath = LDAP://CN=Mcnavish\, David,OU=Corp,OU=Associates,OU=THD Accounts,DC=amer,DC=homedepot,DC=com
2010-03-05 09:53:12,260 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - displayname = Mcnavish, David
2010-03-05 09:53:12,260 DEBUG JuvanderCommon.Utilities.ActiveDirectory.DirectoryClass (:0) - Found displayName: Mcnavish, David
2010-03-05 09:53:12,262 DEBUG JuvanderTFS.TfsConnection (:0) - Saving...
2010-03-05 09:53:12,763 DEBUG JuvanderTFS.TfsConnection (:0) - Save with id 97
2010-03-05 09:53:12,764 DEBUG YapWatcher.YapWatcherClass (:0) - Modified Date is 3/5/2010 9:53:12 AM vs. 3/5/2010 9:47:44 AM
2010-03-05 09:53:12,765 DEBUG YapWatcher.YapWatcherClass (:0) - TFS workitem 97 updated
2010-03-05 09:53:13,204 DEBUG DataLibrary.WorkItemClass (:0) - Updating WorkItem 3/5/2010 9:53:12 AM into 97
2010-03-05 09:53:13,308 DEBUG YapWatcher.YapWatcherClass (:0) - Deleting msg with id: 634033795746589339
2010-03-05 09:53:13,879 INFO YapWatcher.YapWatcherClass (:0) - Msg acknowledged with msg 634033780239076907 bgid 97
2010-03-05 09:53:14,313 DEBUG YapWatcher.YapWatcherClass (:0) - Work round ended
But I never see the value updated in TFS. QC updates with the 'Ackowledged' status though.