I am using TFS2010 with gated check-ins, and even though I have set "Associate Chagesets and Work Items" to false, changesets and work items are associated with this build.
This happens only on gated builds. If I run build with other check-in triggers (manual, continuous, schedule), changesets and work items are not associated with the build unless "Associate Changesets and Work Items" is set to true.
Any ideas why this is happening? I'm using Visual Studio Scrum process template with default workflow definitions. Maybe there is problem in workflow definition?
Gated-CheckIn builds are associated with the check-in changeset and the related work items by default. This Boolean parameter decides whether a non-Gated-CheckIn build should have the changesets and work items associated.
If you look at the default template, you'll see the AssociateChangesetsAndWorkItems activity is invoked when this parameter set to true the the build reason is not Gated-CheckIn. The display name says it: "Associate Changesets and Work Items for non-Shelveset Builds".
I think the description of this parameter is misleading. It says: "Set this to true to associate changesets and work items to the build". It should say "to the non-gated-checkin build".