I'm trying to add work items from TFS to Visual Studio in the below hierarchy as they are in TFS. Anyone know how to do it?
- EPIC
- Feature
- Requirement
The My Work panel in Visual Studio does not support any hierarchy view. It is a small and simple section with the brief work items description. Just try to imagine a query result with 10 child levels in that window ))
You have to use the Work Items panel and the Queries section.
Unfortunately, this is not available at present.
If you use the new work item tracking with Visual Studio 2017 and above, you may have noticed that work items now open in a browser window by default.
To ensure compatibility with the new process customization capabilities, new controls and the new Work item form options, just you keep Visual Studio open work items in the browser.
So we encourage users to track work items in web portal. Work items in Visual Studio is used to do some simply track. There is no structure to how the work items are listed. Your requirement could not be achieved now. Sorry for any inconvenience.
Related
In VS 2017 with TFS, I used to be able to go to my list of bug and click on one, and it would show in the lower half of the screen (I could double click and it would open in another tab). But that has suddenly stopped working since we just upgraded TFS.
I can restore the open in a tab function under Tools -> Options -> Work Items -> Open work items in and then select "Visual Studio (compatibility mode)", but I can restore the ability to see the ticket in the lower half of the same bug list like I had before.
Is there any way to restore this functionality? For one particular project it is really important to have the bugs and the solution in the same place. Switching back and forth from a browser and VS is really inconvenient.
According to your description, most likely you are using the new work item form which released since TFS2017.
If you use the new work item tracking with Visual Studio 2017, you may have noticed that work items now open in a browser window by default. This change to how you interact with work items allows us to provide you with a number of benefits. Details please refer:Work items now open in the web from Visual Studio ’15’
You could also set your preferred way of opening work items using the settings available at Tools -> Options -> Work Items-> Visual Studio (compatibility mode) as you have done. However that's not a recommend way, and you may get the different output either the worktiem fields or the window like you had before.
For example, new work item customization options such as checkbox
features, as well as the new work item form layouts that were
introduced in Visual Studio Team Services may not be available in the
work item controls available in the current release of Visual Studio's
Controls library.
To ensure compatibility with the new process customization
capabilities, new controls and the new Work item form options, just
you keep Visual Studio open work items in the browser.
If you insist on using the previews way, you could try to switch back to the old form once your admin has enabled opt-in to support switch back. Then check if the layout in Visual Studio also restored back.
I need to let users register bugs similar to how it is done in Bug tracking systems.
I'd like to create user friendly form with a layout which will guide user. Standard Create New Workitem interface is too overloaded for users.
Today we manually look through inbox and register bugs in TFS ourselves. This is really a pain. Users often do not mark the message in subject as a bug. You need to read it to understand user has a problem. Sometimes you need to ask them about the criticality level and what the deadlines for fixing it are.
It is easy to miss important message and this process distracts from main activity.
(Based on you having Visual Studio and having already connected to TFS in there)
In Visual Studio, via the menu, choose Tools > Process Editor > Work Item Types > Open WIT from server
EDIT: You will need to install the Microsoft Visual Studio Team Foundation Server 2015 Power Tools Extension in Visual Studio to gain access to that menu option above
You will then be presented with a popup box. At this point you will need to navigate to the Project Collection you wish to make changes in. Once selected you will then be presented with a list of forms you can edit. e.g. Task, Bug, Code Review etc.
If you select Task you will then be taken to a form where you will have 3 tabs. Fields, Layout and workflow. From here you have a certain level of customisation available.
I found a couple of articles (below) around customising templates. One is for TFS 2015, the other is for TFS 2013.
http://blogs.msdn.com/b/visualstudioalm/archive/2015/12/10/adding-a-custom-field-to-a-work-item.aspx (TFS 2015)
https://www.simple-talk.com/dotnet/visual-studio/customizing-team-foundation-server-2013/ (TFS 2013)
NOTE: Menu option Open WIT from server will make changes directly on the server. There are other option where you can make changes locally, then import those changes in. The above is just a way to get you to the screen to customise the forms so that you can take a look around.
In TFS 2010 Team Web Access I could open multiple work items and compare them. In TFS 2013 Team Web Access this doesn't appear to be supported. Each time you open a work item it displays in a modal window which makes it impossible to open another work item.
What's the best way to open multiple work items for comparison? Clearly the new TWA was not intended to be used this way.
The easy way is to solve this with the Browser. You can have multiple windows and just copy the URL to a new window. That way you can also use multi-monitor as well.
I'm using MS Project to manage my TFS work items. The standard Summary Task Information window that comes up when double-clicking on a task is slightly inadequate when dealing with TFS work items. It lacks the standard work item view that we're accustomed to within Visual Studio, and that MS has elegantly rendered within visualstudio.com.
I noticed today that if I set a task field to invalid value, then Work Item Publishing Errors window comes up and there's a nifty little button Edit Work Item... that displays the work item in the standard VS view. Now I'm searching all over Project to figure out how to edit a work item in this view without first having to cause a publishing error. There must be some button I've overlooked in Project that opens a TFS work item up in the VS-like view, isn't there?
It's currently not possible and its also not intended to be used that way. The UI in Ms Project is the native Project UI and is mant to receive the updates to the plan and to layout the items into a new plan.
Managing the contents of the items is all meant to be done from the Web UI. With the new Work Item UI you'll be redirected to the Web whenever you need to edit a work item. Visual Studio, Excel and Project won't show you a native editor window anymore.
You'll be able to directly to the work item editor on the web from the team tab. When connecting to older versions of TFS, this would open the Work Item editor:
How can i narrow down number of work items in menu in Team Foundation Server when i am using Team web access?
I need to change work items based on user rights.
EG :
Users -> add bug, issue
Managers -> Add task
Developers -> All
Example of the work items below:
There is on Visual Studio UserVoice already a suggestion on this.
The product team responded with the following comment: "We’re planning on making some work item types (like Shared Steps) not visible in the new work item menu in clients like Visual Studio and Web, where they don’t make as much sense"
So you might expect this to be possible in the next version of TFS.