tfs2008

How to delete Work Item from Team Foundation Server

戏子无情 提交于 2019-12-02 18:52:54
Is there a chance to delete Work Item from TFS, or all I can do is just to rename it. Update: This question was for TFS 2008. New version (2010) have out of the box solution as Rob Cannon suggested Fernando See this tool: http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html the Team Foundation Client does not include any functionality for deleting work items from TFS. Although it’s a tad inconvenient, you can delete work items from TFS by installing the Team Foundation Server Power Tools (October 2008 release or greater). Of the many features available as part of the power

How to use TFS PowerShell to get list of changesets and associated work items?

一笑奈何 提交于 2019-12-02 18:47:27
I'm a novice with the PowerShell and TFS cmdlets and I'm trying to retrieve a list of changesets in an area path, and their associated work items. I've got as far as listing changesets since a certain date: Get-TfsItemHistory "$/Project/Branch" -Version “D01/12/10~” -Recurse and also listing workitems since the same date: Get-TfsItemHistory "$/Project/Branch" -Version "D01/12/10~" -Recurse | %{ $_.workitems } Each query returns the same number of results, with the second query returning duplicate workitems. This seems promising, as there are many changesets to workitems, so I assume I'm not

Moving multiple files in TFS Source Control

戏子无情 提交于 2019-12-02 15:47:41
I'm using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I've also got the latest TFS Power Tools (October 2008) installed (for Windows Shell integration). Now, the problem is that I can't seem to select and move multiple files via either the shell or the Source Control Explorer window. I can move individual files (by right clicking + "Move") and I can move whole folders (same operation) but when I select multiple files (in a folder) the "Move" context item is grayed/disabled.

How and where does TFS 2008 / TFS 2010 store changesets?

流过昼夜 提交于 2019-12-01 16:09:36
问题 I am attempting to understand how TFS 2008 (and 2010 if it's different) store and communicate details of a set of changes in a changeset. Now when I commit to a Subversion hosted project, the client sends diffs to the server. So if I have added a file and changed a few lines in another it sends something like "Added file A.txt, put 2 lines "A" "B" into B.txt" . This means I can back out a revision as diffs are nicely reversible - "Delete file A.txt and take out two lines from B.txt". Pretty

Can I Re-Assign TFS Work Items to Checked-In Code?

好久不见. 提交于 2019-12-01 15:58:06
Is it possible to go back and tie work items to code that's already been checked into TFS? For example . . . A developer picks the wrong work item, or forgets to pick a work item? I can see work item details for ChangeSets, but the work item page is read-only. If you go to the work item and go to the Links tab, you should be able to add/edit a link to a Changeset. I think that should do the trick. M. 来源: https://stackoverflow.com/questions/368664/can-i-re-assign-tfs-work-items-to-checked-in-code

referencing a source controlled project (using TFS) in another source controlled project

痞子三分冷 提交于 2019-12-01 07:12:50
i have three VS solutions : Human-resource Solution Payroll Solution And a Main web site (Shell); Human-resource is a solution which is also a team project. Payroll is the same, and so do the Main web Site(Shell). what i need is to reference the (Shell) in Human-resource solution and also in Payroll. is that possible in TFS ? and if so, if i modified the Shell in Human-Resource solution, is the modifications transferred automatically to the Payroll Solution ? Yep, go to File->Source Control->Add Project from Source Control... This will pop up a dialog allowing you to add a project from

Can a branch be made from a previous changeset?

时光怂恿深爱的人放手 提交于 2019-12-01 02:16:15
I need to create a branch at a specific Changeset in TFS. Is this doable? For example, I have changeset 1528 that was the last check in on my project. But I want to branch from changeset 1487. Can this be done? If so, how? Note: I am using TFS 2008 Yes. When a branch is created you can choose the historical point in time when it takes effect (date, changeset, etc). See Visual Studio TFS Branching and Merging Guide for some great information on recommended branching practices. Or How to: Branch Files and Folders (MSDN) for more explicit instructions on getting this dialog up to create a branch.

Can a branch be made from a previous changeset?

大兔子大兔子 提交于 2019-11-30 22:31:01
问题 I need to create a branch at a specific Changeset in TFS. Is this doable? For example, I have changeset 1528 that was the last check in on my project. But I want to branch from changeset 1487. Can this be done? If so, how? Note: I am using TFS 2008 回答1: Yes. When a branch is created you can choose the historical point in time when it takes effect (date, changeset, etc). See Visual Studio TFS Branching and Merging Guide for some great information on recommended branching practices. Or How to:

TFS API - is there a way to get a list of the transitions for a workitem type?

烈酒焚心 提交于 2019-11-30 19:17:09
I am trying to get from State "A" to State "X". There are transitions in place that prevent me from just going to X. I can export the WorkItemType as XML and work on that, but before I do that, I thought I would ask if there is a way to get at the Transitions via the API. Soooo..... Not many people need the transitions for WorkItemTypes. Well, I needed it so I wrote a method to do it. Here it is in case someone else ever needs this: // Hold a list of all the transistions we have done. This will help us not have run them again If we already have. private static Dictionary<WorkItemType, List

Custom Check in policy in TFS?

廉价感情. 提交于 2019-11-30 16:22:37
We have some xml files in the our project and whenever we check-in these xml files into TFS, We have make sure before checking-in that we have added those xml files to proprietary application. Now the new employees more often forget to add files into proprietary application before check-in and this is getting serious... We want kinda confirmation dialog (a reminder) asking the developers if they have added the xml files into the app. If yes then check-in otherwise keep it checkedout... Please suggest if such thing is possible and any relevant code or links will be really appreciated. It's not