I'm using TFS 12.0.30723.0 and I'm trying to build a query on which I can see the history of all the changes on different tasks for the current sprint for a person. I don't know why the #CurrentIteration is not accepted, so probably I'll change the sprint param in the query when needed. I want to see how many hours have been completed and on which day of the sprint for a person assigned tasks. Basically a history on how many hours and when have been completed.
What I've tried until now, looks like:
Is this possible to accomplish on TFS?
In this MSDN document, the #CurrentIteration is only could be used in the following clients:
Web portal that connects to VSTS
Web portal that connects to an on-premises TFS 2015.
Visual Studio 2015 connected to TFS 2015 or
VSTS.
You're using TFS 12.0.30723.0, this is TFS 2013. #CurrentIteration doesn't work for TFS 2013 web port. You could upgrade your TFS to TFS 2015 or higher versions.
About your request, you could add the AuthorizedDate, RemainingWork, CompleteWork field column in the query result. Then you could export your query using Excel to Sum up. Because TFS query doesn't have the calculating feature. The AuthorizedDate shows the time when the workitem is assigned to someone.
Related
We have to upgrade TFS version from 2012 to 2017. The problem we are facing is we have some team projects in TFS 2017 lower environment and some team projects are in 2012 production instance. We want to migrate 2012 team projects and 2017 team projects to a new TFS 2017 production instance under one team project collection. We need some help in defining the upgrade/migration strategy keeping this scenario in consideration. Please let us know if someone can lend help.
It supports to move collections from TFS 2012 to TFS 2017 directly follow the move collection document. You don't need to upgrade your TFS 2012 to TFS 2017 first. It does the upgrading When it attaches to the new TFS instance, just follow theses steps:
Detach the collection
Back up the collection database
Move the collection database
Attach the collection
Configure Features for team projects(option)
Note: The step5 is done when you move TFS 2012 collection. If you move TFS 2017 collection to your new TFS 2017. This step doesn't need to do.
And you want these 2 collection to merge to one collection totally. This is not support currently. There are two many conflicts: changeset numbers, work item IDs, builds,etc. And it also doesn't support to move team project from one collection to another. Here is a user voice about move team projects between collections which has many votes already:
We still plan to evaluate picking this work up and possibly getting it into the following next major release. We’ll provide an update once a decision has been reached.
I'd suggest that you do the migration from TFS2012 to TFS2017 just as described by Microsoft here and after your new TFS2017 is up and running, move the Team Project Collections from your current TFS2017 to the new one which is described here
We need to migrate projects in TFS from one server to another. On source server we have TFS 2010 with several VS.NET projects in the DefaultCollection. On the destination server, we have TFS 2013 with an empty DefaultCollection but 2 other collections in use by other developers. Each instance of TFS has its own SQL Server.
The problem we face is how to take the DefaultCollection from the TFS 2010 server and place it on the TFS 2013 Server?
I'm aware of several articles about migration but have not found one that exactly fits our situation. I appreciate any ideas anyone may have.
This is a very straightforward scenario.
Something along these lines should work:
Detach DefaultCollection from TFS 2010 using the admin console.
Take a backup of your TFS 2010 DefaultCollection database
Migrate the database to your TFS 2013 database server
Attach the TFS 2010 DefaultCollection database in TFS 2013 via the admin console. As part of the attaching process, you should be able to rename it.
The team project collection database will be upgraded to TFS 2013 and made available to users. At that point, you can go back and clean up unneeded project collections and rename things if you'd like.
Always take backups before you attempt any sort of migration or upgrade. I always recommend performing the upgrade against a test environment first.
I noticed that I can change the order of the PBIs of the current sprint on visualstudio.com via Drag&Drop. At work we use TFS 2013 on our own server (I think the newest version Update 4) and that's not possible. Both use the SCRUM template.
Is this a configuration issue? It would help a lot if this would work at our own TFS too. What should I do?
The features available in VSO are beyond that of TFS 2013 update 4. The feature that you are referring to is planned for TFS 2015.
https://www.visualstudio.com/en-gb/news/release-archive-vso
For most customers, regardless of size, I recommend moving to VSO to get access to the latest and greatest features as they become available.
I'm looking for an overview in Microsoft Team Foundation Server where all projects with releases/sprints are listed in one convenient overview.
Something along the lines of
Project Release Sprint StartDate EndDate
Customer1 BetaTest 1 16-10 18-10
Customer6 AccTest 2 17-10 20-10
This view/report does not exist in TFS. You could create it yourself either by using the TFS API to retrieve and display this information. Or probably via a SSRS report against the TFS Data Warehouse.
My team and internal business customers often ask the start/end dates for sprints and the projected release date. Is there a way to attach a note to an iteration in TFS so that these dates can be published and/or queried?
Take a look at the following links which describe how to set start and end dates to your sprints and be able to track these dates. Also, check out the new Microsoft Visual Studio Scrum 1.0 process templates. It may have the ability to add notes or more information to your iterations since it has a sprint work item type. TFS 2012 has the type of functionality you mentioned as well.
Make Agile Work for You in TFS 2010
Microsoft Visual Studio Scrum 1.0