Tree Explorer View for TFS - tfs

Is there a way to see the current item being viewed in TFS to be shown in a tree explorer on the side like windows explorer?
Yes, I know there is one view that shows everything in a tree view, but most of the time we are looking at a specific item and have to reconstruct it's relationship to other items from the links list by going forwards, backwards etc.
Or just clicking a link that opens a new window that displays the current item in a tree view like windows explorer does when we are within a folder?

If you just want to change the Parent/Child relationship between Feature, User Story, Task and Bug, you can drag and drop the work item to its parent work item directly. Refer to this link for details: Map items to group them under a feature or epic and Re-parent and reorder items.
If this does not meet your requirement, refer to my answer in your another question for details: How to get a flat view of a TFS item tree?

Related

Windows11 explorer context menu limited to 2 levels?

I'm trying to migrate an existing ShellExtension to the new Windows11 explorer context menu, but such menus seem to be very limited. What I learned so far is that one has to implement the IExplorerCommand interface, at least if it later should be installable as Windows app (*.msix).
There can be only one single root menu item? Each menu item needs to be registered with the "IExplorerCommand" this describes one menu item, a dynamic list can be added only as sub menu items via EnumSubCommands().
Cascading menus are limited to only 2 levels, the root menu item and one level of sub menus? Whatever I try to add multiple levels, Windows11 is truncating them.
Anybody experienced the same problems or found a better solution?

TFS - Add work item to specific project

I'm relatively new to developing with tfs (only used git before).
I'm connecting to a server, which contains a decent amount of projects.
When I create a new work item, I can select only the server below 'classification' and not the specific project.
How can I allocate a work item directly to a project instead of the server?
Thanks!
You could directly create work item under the specific team project. The simplest and effective way is through web portal.
Project--Work--New Work Item--Work Item Type
After this the a work item directly allocated to this project instead of the server.
In work item, several features depend on the team project or team that
you have selected. For example, dashboards, backlogs, and board views
will change depending on the context selected.
When you add a work item, the system references the default area and
iteration paths defined for the team context. Work items you add
from the team dashboard (new work item widget) and queries page are
assigned the team default iteration. Work items you add from a team
backlog or board, are assigned the team default backlog iteration.
You navigate to your team context from the top navigation bar.
If you are new to tfs work item, suggest you take a look at related tutorial in MSDN: Plan and track your project with work items. Besides in TFS, there is a concept of permission, also make sure your account have enough permission for the project and adding work item.

Is in the Team Explorer the pending changes window customizable

When you open a changeset in Visual Studio 2013 the details are displayed in the Team Explorer window. In the Related Work Items area are displayed all work items associated with that changeset.
On mouse-over that work item you can see the details (title, state, assigned to, ...) of the work item in a small window.
It's possible to customize that window?
I'd like to display some custom fields that we have in the task work item.
There's no officially supported way to do that (no public API). If you are willing to accept the risk of your extension breaking in a future update, you can certainly hook in and modify it.

How can I modify the title of work items in TFS en masse?

I have a Product Backlog Item (PBI) in TFS, which has multiple Sprint Backlog Tasks (SBTs) under it in a grid.
How can I modify the title of the items in that grid without opening each one individually in the preview or otherwise?
It is possible because when selecting a WorkItem, in the half screen on the bottom, you will have its details, and thus can change it.
After you re done, you will be able to save all in one Ctrl-S
Better way :
I have done that by exporting result of query in MS Excel, modifying multiple columns and rows rapidly; then Publish the whole by one click.
For Visual Studio 2010, 2013, the following will work:
Open a list of the items you wish to edit in Visual Studio/Team Explorer Tab. This can be done via a new query.
Highlight all items (of the same type) that you want to change.
Click the ‘Open in Microsoft Office’ drop-down or right click on one of the selected task items and select ‘Open In Microsoft Excel’.
Edit the fields you are interested in using standard Excel functionality to copy/paste or replace.
Click the ‘Publish’ button at the upper left in Excel.
After that has completed, click on the Refresh icon at the top of your product backlog view in Visual Studio.
Your updated/bulk-edited entries will now appear.
You can bulk edit in Team Web Access 2010. Opening the query in Excel works better for bulk-editing the titles, but if you're going to change, say, Area Path, TWA provides expandable/collapseable nodes in the hierarchy, while Excel simply gives you a drop-down menu of values.

What do the following icons mean when creating a new workitem in TFS 2012?

The following image is in spanish but that does not matter.
The menu shows the list of workitems on the TFS and opens when I click on "create new work item". What I don't know is what mean the different icons and why the first two workitemtypes have a different one.
I created all the workitems you can see there but I wasn't aware of doing anything different on them that could set a different icon nor a different place on the menu.
These icons represent what category those specific work item types are in. For instance, the clipboard with the check corresponds to a work item type that is in the task category and the one below it with the chat box and an exclamation point represents a work item type that is in the requirements category. These categories are defined in the process template when creating a team project, and they can also be exported/edited/imported to any current project. Hope this helps :)
Here is the MSDN link on customizing categories: http://msdn.microsoft.com/en-us/library/vstudio/dd273721.aspx

Resources