How to View a TFS Work Item in MS Project in a Visual Studio-like Form - tfs

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:

Related

Can't user Custom Work Item Form in TFS 2018 Web portal

I'm creating new User Story (WIT), I have installes tool: Process Editor under VS2018, connected to the project and exported WIT ( User Story ) then i have made some changes. While using previe window under VS2019 i see that changes has been made:
But while using Web portal i can't see my changes, there is only default Agile User Story view:
I have found information what could be the problem ( Enable the new form found on M$): https://learn.microsoft.com/en-us/azure/devops/reference/manage-new-form-rollout?view=tfs-2017&viewFallbackFrom=azure-devops
I've checked all permissions and groups I'm in, inclding Administrator groups, for projects, whole collection ext. On the M$ web site is information that i should click "Enable the new work item form" to be able to use customization i did. But i don't have this option :( :
Can you please tell me what Am I doing wrong ? What have I missed ?
TFS2018 installed on premise.
Thanks.
Please take a look at this ticket: TFS work items opened inside Visual Study no longer open in the web browser, they always open in the Visual Studio editor
According to the response from MSFT:
We have re-design the default landing page for work items in Visual
Studio 2019 which only works with server >= 2019. If server is <
2019, work items will be open in Visual Studio only.
Since you are using TFS 2018 with VS2019, you may have to open work item in web portal from browser directly right now.
But work item in Visual Studio IDE is still using the old Layout forms. Work item in Web Portal is using the new layout. That's why you have seen different behavior.
The using of the new work item form is already updated in your server. On VS you see the old style but on web you have the new style. On the Process editor download page you can find the following:
Process Template: Open and edit a process template (you can only edit
the old-style work item forms, those that don’t reflect the new web
layout)
To update the new form check this page: New web form layout-WebLayout and Control elements

Linking Work Items from TFS to Visual Studo

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.

Visual Studio Work Item Preview

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.

Is it possible to customize TFS to provide user friendly forms for registering bugs?

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.

Open multiple work items in TFS 2013 Team Web Access

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.

Resources