# Issue with Team Foundation Check In Pending Changes

**URL:** https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973
**Category:** Discussion
**Created:** [September 19, 2008, 10:14am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973 "2008-09-19T10:14:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sean.flook](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@sean.flook](https://www.finalbuilder.com/forums/u/sean.flook)
#### Post date: [September 19, 2008, 10:14am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973/1 "2008-09-19T10:14:05Z")

</div>

I am trying to use the Team Foundation Check In Pending Changes in FB6.2

We have a check in policy that says that all check ins have to be associated with a work item and the name of the code review supplier. I have worked out how to set the code review, but I cannot see any way of associating a work item with the check in.

I have ticked the Override the checkin policy and when I remove the Checkin Notes I get the following error:

Path to Executable: D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe  
Workspace Directory: F:\  
Command line: checkin /comment:"Changes from Continuous build" /noprompt /override:"Continuous build so not associated with a work item" "F:\Symphony\Dev\LPEG\_RES" "F:\Symphony\Dev\Wise Install\iManage Gazetteer 10g.wsi" "F:\Symphony\Dev\Wise Install\iManage Gazetteer.wsi" "F:\Symphony\Dev\Wise Install\Symphony Oracle.wsi" "F:\Symphony\Dev\Wise Install\Symphony SQL Server.wsi" "F:\Symphony\Dev\Wise Install\TfL iManage.wsi" /recursive  
TF10117: The following check-in note does not pass check-in requirement:  
&nbsp; Code Reviewer: A value must be specified for the check-in note.  
TF10139: The following check-in policies have not been satisfied:  
&nbsp; You must associate this check-in with one or more work items.  
The policies have been overridden.  
No files checked in.  
Failed!

If I add the Checkin Note for the Code Reviewer I get the following error;

Path to Executable: D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe  
Workspace Directory: F:\  
Command line: checkin /comment:"Changes from Continuous build" /noprompt /notes /override:"Continuous build so not associated with a work item" "F:\Symphony\Dev\LPEG\_RES" "F:\Symphony\Dev\Wise Install\iManage Gazetteer 10g.wsi" "F:\Symphony\Dev\Wise Install\iManage Gazetteer.wsi" "F:\Symphony\Dev\Wise Install\Symphony Oracle.wsi" "F:\Symphony\Dev\Wise Install\Symphony SQL Server.wsi" "F:\Symphony\Dev\Wise Install\TfL iManage.wsi" /recursive  
Option notes requires a value.  
Failed!

I also get the above&nbsp;message if I uncheck the Override the checkin policy checkbox.

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 19, 2008, 11:34am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973/2 "2008-09-19T11:34:19Z")

</div>

Hi Sean   
  
 The problem is that we are calling the Team System command line tool (tf.exe) which unfortunately doesn’t have the ability to associate a work item with checkin’s. There is a TFS power tool that you can call, I did find some useful info here :   
  
 [http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3000306&SiteID=1](http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3000306&SiteID=1)   
  
 See the last post in that thread.   
  
 HTH

---

<div class="post-metadata">

### Author: ![sean.flook](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@sean.flook](https://www.finalbuilder.com/forums/u/sean.flook)
#### Post date: [September 19, 2008, 1:27am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973/3 "2008-09-19T01:27:54Z")

</div>

Hi Vincent

Thanks, but I am quite happy to override the Checkin Policy and not associate with a work item, but the override does not seem to work as it is still giving me&nbsp;the error: **Option notes requires a value** , see below

> Path to Executable: D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe  
> Workspace Directory: F:\  
> Command line: checkin /comment:"Changes from Continuous build" /noprompt /notes /override:"Continuous build so not associated with a work item" "F:\Symphony\Dev\LPEG\_RES" "F:\Symphony\Dev\Wise Install\iManage Gazetteer 10g.wsi" "F:\Symphony\Dev\Wise Install\iManage Gazetteer.wsi" "F:\Symphony\Dev\Wise Install\Symphony Oracle.wsi" "F:\Symphony\Dev\Wise Install\Symphony SQL Server.wsi" "F:\Symphony\Dev\Wise Install\TfL iManage.wsi" /recursive  
> **Option notes requires a value.**  
> Failed!

I am assuming it referes to the /notes parameter and refers to the Checkin Notes tab on the action.&nbsp; This error only appears if I have entered something in the box.&nbsp; If I leave this empty I get the following:

> Path to Executable: D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe  
> Workspace Directory: F:\Symphony  
> Command line: checkin /comment:"Changes from Continuous build" /noprompt /override:"Continuous build so not associated with a work item" "F:\Symphony\Dev\LPEG\_RES\*.\*" "F:\Symphony\Dev\Wise Install\iManage Gazetteer 10g.wsi" "F:\Symphony\Dev\Wise Install\iManage Gazetteer.wsi" "F:\Symphony\Dev\Wise Install\Symphony Oracle.wsi" "F:\Symphony\Dev\Wise Install\Symphony SQL Server.wsi" "F:\Symphony\Dev\Wise Install\TfL iManage.wsi"  
> TF10117: The following check-in note does not pass check-in requirement:  
> The policies have been overridden.  
> &nbsp; Code Reviewer: A value must be specified for the check-in note.  
> TF10139: The following check-in policies have not been satisfied:  
> &nbsp; You must associate this check-in with one or more work items.  
> No files checked in.  
> Failed!

Regards

Sean

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 20, 2008, 2:22am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973/4 "2008-09-20T02:22:22Z")

</div>

Hi Sean   
  
 Ok, I will look at this when I get in to the office on monday (don’t have TFS at home!). I suspect it’s not likeing how we specify the command line for the override.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [September 22, 2008, 9:26am UTC](https://www.finalbuilder.com/forums/t/issue-with-team-foundation-check-in-pending-changes/973/5 "2008-09-22T09:26:13Z")

</div>

Hi Sean,   
  
 It looks like a bug in the Check-in action with regards to parsing the check-in notes. We’ll have a new build available soon.   
  
 Regards,   
 Paul.
