trying to associate TFS workitem with TFS check in
The link says that you can associate the work item with the check in in two separate steps, but I don't think this will work in our situation. This is because:-
1. Performing the check in first (before doing the association) is rejected due to our check in policy. The check in hasn't been associated with a work item.
2. Performing the association first is impossible before the changeset doesn't exist yet. The changeset only exists once files have been checked in.
So as far as I can tell, until the parameters for TF CHECKIN allow for something like /workitem:<123>, the only way that it is possible is to use VBScript to use the TFS automation model or write a component that uses the TFS API. I'm not sure which is true as I'm just about to start looking...
Regards
Phil
|