tfs-workitem

How can I query work items and their linked changesets in TFS?

丶灬走出姿态 提交于 2019-11-28 09:55:45
In TFS 2010 I have work items with linked changesets. I can generate a query that reports the work items I'm looking for. Now I want to do a query of Work Items and Direct Links that includes all the changesets linked to these work items. In the query editor I can't find any means to specify a changeset as the linked-to item. Are work-items the only output possible from a query? An option is to use the TFS API like the following snippet. var projectCollection = new TfsTeamProjectCollection( new Uri("http://localhost:8080/tfs"), new UICredentialsProvider()); projectCollection

How to migrate work items from TFS to Visual Studio Team Services

坚强是说给别人听的谎言 提交于 2019-11-28 01:17:28
My team currently works with an on-premises TFS 2012 server. I am migrating everything to Visual Studio Team Services, formerly Visual Studio Online. I am starting with a test project and was able to easily get all the code migrated, but can't figure out how to do the same for the work items. Are there any good guides out there? New options as of March 29th 2018: TFS to VSTS migration - The official import option which will import 1 project collection into 1 VSTS account. It automatically imports everything stored in the backup. At the point of writing this, the TFS must be upgraded to TFS

How to Determine the Work Items Fixed in a particular TFS Build when using Branches?

我与影子孤独终老i 提交于 2019-11-27 20:32:00
问题 We have begun using the following branching structure in TFS 2010: All changes so far have been performed in the Development branch, and all check-ins have been associated with a Task work item. The Tasks are all children either of a Bug or a Product Backlog Item work item. Each CI build is triggered for a particular changeset, and the changeset is associated with a Task, so we can manually figure out which Bug or PBI was just built. Some time after the code has been built, deployed to our

Can we migrate to a new TFS process template and keep history?

放肆的年华 提交于 2019-11-27 18:45:51
问题 We are currently using TFS 2008 with the Scrum for Team System template from Conchango, with a few minor tweaks. We are looking at upgrading to TFS 2010 and we are considering moving to the MSF for Agile template. What is the best way to move to a new process template and keep history? I'd like to be able to create a new team project on the TFS 2010 server, get everything checked-in, and move our source to the new project. It would be nice if we could somehow keep the check-in comment history

TFS query for tasks with no parent

风流意气都作罢 提交于 2019-11-27 14:21:44
问题 I would like create a Flat list of work items query in TFS in which the results contain all of the specified PBI and Bug cases and any Task cases that have no parent. It's that Task with no parent part that has me perplexed. I cannot see a way that I can do what seems so obvious such as (Parent Link Count = 0) because that attribute is not exposed to me though, strangely, some other link type counts are. Any ideas? 回答1: You need to change the type of your query to the Direct Links query, then

How to migrate work items from TFS to Visual Studio Team Services

我只是一个虾纸丫 提交于 2019-11-27 04:46:08
问题 My team currently works with an on-premises TFS 2012 server. I am migrating everything to Visual Studio Team Services, formerly Visual Studio Online. I am starting with a test project and was able to easily get all the code migrated, but can't figure out how to do the same for the work items. Are there any good guides out there? 回答1: New options as of March 29th 2018: TFS to VSTS migration - The official import option which will import 1 project collection into 1 VSTS account. It

How to retrieve the hash for the current commit in Git?

泪湿孤枕 提交于 2019-11-26 11:27:11
I would like to retain (for now) the ability to link Git changesets to workitems stored in TFS. I already wrote a tool (using a hook from Git) in which I can inject workitemidentifiers into the message of a Git changeset. However, I would also like to store the identifier of the Git commit (the hash) into a custom TFS workitem field. This way I can examine a workitem in TFS and see what Git changesets are associated with the workitem. How can I easily retrieve the hash from the current commit from Git? Jakub Narębski To turn arbitrary extended object reference into SHA-1, use simply git-rev

How to retrieve the hash for the current commit in Git?

亡梦爱人 提交于 2019-11-26 02:25:42
问题 I would like to retain (for now) the ability to link Git changesets to workitems stored in TFS. I already wrote a tool (using a hook from Git) in which I can inject workitemidentifiers into the message of a Git changeset. However, I would also like to store the identifier of the Git commit (the hash) into a custom TFS workitem field. This way I can examine a workitem in TFS and see what Git changesets are associated with the workitem. How can I easily retrieve the hash from the current commit