How do you edit Lab Process Settings in a Lab Management template? - tfs

Everytime I try to edit the Lab Process Settings in a lab management template in Visual Studio 2013, I get the following error:
Has anyone seen this appearing? I tried creating a new build definition targeting the same template, but the error appears again.
OS: Windows 8.
VS: 2013 Update 2

You are most likely running TFS update 3 which changed the back-end of TFS to create work items for both the Test Plan and Test Suites now. There is something odd going on in your project, it may be that you have not "enabled" the features on the project so those things are done behind the scene.
To verify this, go the TFS portal and click on the little gear in the right hand corner, then click the control panel link (up top left) and select the project you are working under and finally select Manage the project administration page and click the overview tab. Is there an "enable features" button there?
If you go the home page of you project and click the little question mark on the top right corner and select about, what version do you have there?

You have changed the Process template to have the state "In progress" rather than "In Progress" and the default configuration is choking. If you go through your process template and make sure that the casing is correct ("In Progress") your issue should go away.
Full details and solutions: http://nakedalm.com/find-mappings-states-defined-test-suit-work-item-type/

Related

Team Services: Can't create a bug

I have the annoying problem in Visual Studio Team Services (online) that anytime I want to add a bug under a user story I can only select "Task" and not "Bug" anymore. This worked in the past.
I instantly get the following screen, without having the option to choose for task or bug:
http://s33.postimg.org/dgnwef1kv/task.png
Anyone that could help me out?
Click "Configure setting..." button and switch to "Working with bugs" tab. Select "Bugs appear on the backlogs and boards with tasks." option.

TFS 2015 Update 2 - Some widgets are not loading anymore

We made the Update 2 of TFS2015 but we now have some problems on it.
"New Team Project" link do nothing
A lot of widgets fail to load and we can't create new ones properly (see images below)
The "RELEASE" tab show nothing (but maybe it's what was expected)
Look like something gone wrong so if you know how to repair this, please share but if not, we also don't know how to restore TFS to Update 1 and we don't know how to update again properly.
Thanks for your help.
I had the same issue with Widgets failing, I did the following:
Go to: control panel -> "project name" -> work
Set the start and end dates for the current release.
After saving the changes I refreshed and my widgets worked again.

Change language of TFS 2012 after installation

I just installed a new Team Foundation Server 2012 in its English version. Is it possible to switch to another language?
I need this for changing the language of the process templates used by the server. Maybe its possible to just update them and leave the server in English?
I'm a little bit afraid of running the upgrade on this machine because I don't know, if upgrade can also mean TFS 2012 EN -> TFS 2012 OTHER.
I decided to take the risk and I did following:
Uninstall TFS 2012 German completely.
Start Setup from TFS 2012 German Image
Choose "Upgrade"-Option when the first installation is done.
After Setup don't forget to re-configure things like build.
For those of you who think: "Why the hell...?": I installed the english version and recognized, that I could not use some conversion-tools. If you for instance try to bring "My Work" online, it complains when you switched language. Thats why this was so important to me.
After all I got some strange errors on my dashboard. I figured out that the OLAP-Cube was not able to be rebuilt due to some translation problems. The solution for this is:
Use SQL Server Management Studio and log on to the Analysis Services module.
Exand the databases-node and delete the Tfs_Analysis-database.
Open TFS Administration Console from the start menu.
Got to Application Tier -> Reporting and click "Edit" in the right pane.
Got to the second tab "Analysis" and re-enter all informations leaving the database-name as it is.
Click "Ok". In SQL Management Studio you should see the recreated Tfs_Analysis-database.
Go back to TFS Admin Console and click on "Recreate" in the right pane.
Go to SQL Management Studio, expand the Nodes Tfs_Analysis -> Cubes and right-click on the "Team System"-node.
Hit the third option (I don't know the english name but should be something like "Process".
If no error is shown, your cube should work now.

Find shelvesets via Visual Studio as quickly as possible

I need to review many shelvesets using Visual Studio every day. I have added the TfsPendingChanges command to the my toolbar, but the rest of the procedure to access a shelveset (Actions/Find Shelvesets) still feels clumsy. In fact, shelveset review has nothing to do with my own pending changes. And VS11 just made it even one step longer than it already was.
Is there any way to add "Find Shelvesets" in some form directly to a menu or to a toolbar, in Visual Studio 2012?
If you go to right click and then "Customize" on any toolbar, it will bring up a dialog. Press the "Keyboard" button on it, choose File.TfsUnShelvePendingChanges and assign a Hot Key to it. I do believe that the Source Control Explorer window needs to be open and active for your hot key to work.
OR...This may not be exactly what you are looking for, but if you have the Source Control Explorer window open and active, then ALT-F ALT-R ALT-F ALT-F ALT-S will bring up the dialog. That is actually navigating File/Source Control/Find/Find Shelvesets.
The easiest way to work with Shelvesets is to use the new My Work feature. By suspending and resuming work Visual Studio will automatically do all the Shelveset magic for you with a simple drag/drop of the task that you want to have in progress.
The same applies to reviews, Suspend your current work, or create a new temporary workspace, open the Review Request, let it unshelve the changes automatically and when you're done go back to where you were by resuming your previous tasks.
It's really great once you get the hang of it. That it uses Shelvesets under the hood is nice to know, but this way you don't really need to know, it just works.
As for TWA Diff, there've been great improvements with TFS 2012 Update 2 which is almost ready to be released...
If this is only for reviews then maybe Team Web Access would be better for you?
Just navigate to http://:8080/tfs/web/, select team project, then click Source Tab and Find Shelvesets. You can then open each shelveset in new browser window and it will list all changes and allows you to quickly do compare etc.
Command that you are looking for is TfsUnshelvePendingChanges under File.
Right click on any toolbar, click on customize and a dialog will open. Go to 'Commands' tab on the top.
Choose appropriate button out of Menu Bar | Toolbar | Context Menu. Select the desired option under that. My favorite is to add it to Toolbar>Work Item Tracing (toolbar where New Item/Open Item appears).
After choosing from above step appropriately, click on 'New Command'. Then select to File>TfsUnShelvePendingChanges. This will add a shortcut to unshelve changes.
Thanks to #Alex for pointing out the correct command name. Writing here separately for people looking for answers in future.

TFS 2010 - How to make all work items inaccessible for a specific TFS project

I am trying to figure out how to modify the work items permissions on a specific TFS project to inaccessible?
I want to make the work items 'invisible' to all users.
The MSDN documentation is a little unclear (at least for a newbie):
http://msdn.microsoft.com/en-us/library/ms252587.aspx
it mentions TFSSecurity could be used from command line and I think i need to deny WORK_ITEM_READ for that project - could someone provide the syntax for that?
Thanks!!!
You can do it with TFSSecurity. But unless you enjoy command line pain, just use Team Explorer (via Visual Studio).
Right click on a project in Team Explorer and select "Team Project Settings" then select "Areas and Iterations".
In the resulting dialog make sure that the root Area (called "Area") is selected then select the "Security" button in the bottom of the dialog box (next to close).
That will launch the security options for the work items under that Area. From there you can uncheck "View work items in this node" for everyone in the list.
However you will be unable to remove Collection admin's rights to view the work items. You may be able to do that via TFSSecurity.exe but it would be abnormal to do so.

Resources