Team Services: Can't create a bug - tfs

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.

Related

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

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/

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.

How do I assign a Bug or Product Backlog Item to a "Team"?

I have created a team underneath the Team Members section (in Team Explorer), but I cannot select this team from the drop down in my Bug. This drop down (highlighted text in image below) has no teams listed in it.
What am I doing wrong?
We are using the http://www.scrumforteamsystem.co.uk/ template for TFS 2008.
The bug that you have in the image is a customized bug. Someone in the organization (maybe you) have changed to bug and added the Team field to the bug. The team that is available in the team explorer cannot be used in the work item, but you can use link that John added to show groups in the dropdown.
Another approach is to use a global list to determine the values for the team field. Adding a new team means that you have to add it to Team Explorer and to the global list.
In the new version of TFS (TFS 11), which you can preview at http://tfspreview.com, you can see that the team has become a first class citizin. If you want to see it in action, you can either go to one of the sessions of //BUILD/ or sign up for an account on TfsPreview.com.
Go to TFS explorer, go to your project and right click on the project title and Select "Show Project Portal"
Once its loaded up in your browser, click on "Team Project Administration" Tab.
The team option is the second box on this page. Add your teams to there, and they will then appear in the dropdown within TFS Solution Explorer.
You will need to save any bugs first before you can assign it to a team though.
See the blog post Assigning a work item to a group in TFS.
This does require some minor customization of the work item types you're interested in changing.

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.

TFS: Why there are Pending changes from multiple projects

i have a Team Project and under this Team Project there are multiple visual studions solutions. each solution contain multiple projects.
while working on a solution , in pending changes it shows me files from other solutions as well which are checked out to me.... this is wrong.. it have to show only changes related to current solution. why it is showing me changes from all solutions.??
There is a button to the right of the list of buttons in the pending changes window that looks like a solution item - when this is highlighted it should only shows items for the current solution. Sometimes you have to refresh to show the correct items.
Just an update for Visual Studio 2012: The button mentioned above appears to have been moved to a filter drop down beneath Included Changes / Excluded Changes. Hit the dropdown and change "Show All" to "Show Solution Changes."
Open the Team Foundation Server window in Visual studio, then click pending changes, then at included changes list you will find blue link "Show All" and small down arrow above the files list, click this arrow and select "Show Solution Changes"
"Show Solution Changes" will greyed out when your solution is in OFFLINE mode, make sure you turn it ONLINE by following below steps.

Resources