Can I modify the default Check-in Action in TFS 2010? - workitem

When you associate a changeset with a workitem TFS defaults to resolving the workitem. I want to default to associating it.
I know in TFS 2008 you had to remove resolve check-in action using something like this http://www.woodwardweb.com/vsts/000230.html but I thought that I read somewhere that there was a better way to do this in TFS 2010. Does anyone know whether this is the case?
TIA,
Bill

With Visual Studio 2010 you can achive this very easy:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Behavior
#ResolveAsDefaultCheckinAction = "False"

Related

How can i MS SQL Script version-control Like TFS?

How can I mange SQL script changes, way of TFS code mange and can see difference of in Table or procedure.
Hi İ advise this product if your omployers can buy (it has free trial):
https://www.red-gate.com/products/sql-development/sql-source-control/index
You can create and use Visual Studio database project too...
Check: https://msdn.microsoft.com/en-us/library/hh272677(v=vs.103).aspx
Also check:https://www.mssqltips.com/sqlservertip/4904/using-source-control-with-sql-server-management-studio/

TFS 2015.3 Release Management Update Release Description After The Fact

Is it possible to update a Release's Description after it's created? It seems that you get one chance when you create it, but if you miss it, you cannot add/update the description afterward.
On-prem TFS 2015 Update 3.
You can’t update a release’s description in TFS. This feature is available on Visual Studio Team Services.
You can update the release description. Click on the highlighted in the image below to open the dialog.

TFS Checked in items not available in view history (intermittent)

I have recently experienced a strange problem in tfs source control . I added some code in two different parts of n-tier solution in visual studio 2012; code behind aspx.vb file and class library project, they appeared in pending changes, I checked-in and did something else in the project but later on I found the changes I made in the code are not there anymore.I checked the view history from source control explorer and those changes are not shown in view history. However If i update existing code base now and do check-in pending changes they are showin in view history. Can any body tell why in first place checked-in changes are gone from tfs or is there anything I can do to retrieve those changes. TFS server is 2008
Thanks
I would suggest that there was something wrong with the workflow you used to perform the first checkin. Checkins are atomic so you can't have some files checked in an others not.
The most common scenario would be that the scope of your checkin was incorrect.
Note: You should move ASAP to upgrade your TFS server to 2013. TFS 2008 no longer revives servicing.

cannot add members to tabular model roles using visual studio 2012

I've created a tabular model project in Visual Studio 2012 and everything seems to work properly until I go to use the Role Manager. I can create roles easily enough, but when I click the Add button on the members tab for a role - absolutely nothing happens. No dialog, no error, nothing.
I'm pretty disgusted by this, but I thought I would ask if anyone else has seen this behavior or knows a workaround.
I believe I've found a workaround for this. On two separate computers, installing the following SQL Server features resolved the issue:
"Client Tools Connectivity"
"Management Tools - Basic"
"Management Tools - Complete"

How do I change Process Template on an existing Team Project in TFS 2010?

How do I change process template to MSF for Agile on an already existing team project in TFS 2010?
We have upgraded our TFS 2008 to 2010, and now I would also like to change the process template to MSF for Agile (currently CMMI).
We haven't used the workitem functionality much so if some information gets lost in the conversion doesn't matter.
Once you've created a Team Project, you unfortunately can't just upload a new process template. As Robaticus says, you'll have to download the XML for the template and modify it, then re-upload it. The power tool lets you create NEW templates for NEW team projects, but it won't modify an existing one.
Instead, you can use the witadmin.exe tool (on any computer with Team Explorer installed, under \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE, or just from a Visual Studio Command Prompt) to export the current workitem definitions and re-import them once you've made your changes.
Luckily, if you're not using workitem tracking much, then this might not be too difficult. You might be able to just delete all the existing workitem types and then re-upload the new types.
If this is too much trouble, consider how much you want to retain your source control history. It might be worth creating a new Team Project with the Agile template and then just moving all your source code into it.
You can't change the process template, however you can change the work item types. So for bugs, tasks you can swap to the Agile definitions.
You can do this in 2010 with witadmin, in 2008 it's importwit, by first downloading the template to disk (you'll need the TFS power tools for this). Then point the console app at bug.xml, task.xml etc..
Usage: witadmin importwitd /collection:collectionurl [/p:project] /f:filename [/e:encoding] [/v]
/collection Specifies the Team Foundation project collection. Use a fully specified URL such as
http://servername:8080/tfs/Collection0.
/p Specifies the team project in which the new work item type is imported. This is required, except when
the validation-only option is used.
/f Specifies the work item type XML definition file to import.
/e Specifies the name of the .NET Framework 2.0 encoding used to import the XML file. For example,
/e:utf-7 will use Unicode (UTF-7) encoding. Encoding is automatically detected whenever possible. If
the encoding cannot be detected, UTF-8 is used.
/v Validates the XML definitions for the work item type, link type, or global workflow without importing
them.
You can export the agile process template to disk, then import the work items into your existing project. You may need the TFS Power Tools to do this.
I may be too late for this question, but the TFS Integration Platform tools could really help here.
See this question on server fault that details on how to move from Scrum For Team System V2 to Microsoft Visual Studio Scrum 1.0.
You would need to setup your own mappings to move from your templates to the target template, but the process is the same.
Please note witadmin.exe could help in some scenarios but TFS Integration Platform is your ultimate choice to achieve this task. There is a user voice item still pending. Please check this SO thread.
I think the best way to accomplish this is to create a new Team Project with "the new" process template and use the TFS Integration tool to migrate your existing WorkItems and choose create a new branch from Source Control, so you'll have new work Items (with the new workflow) and the source control history (as well). You'd even do this across versions of TFS!! (On the case interested on migrate TFS 2005/2008/2010)
Another way might be to use the WorkItem Templates, but I think this is more a kind-of visual style (I've not much experience) applied to the Work Item. To do so, just right click on your project, import the WITDefinition and apply the template by selecting Apply template on desired WorkITems.