Fields of workitem, TFS - tfs

How to access Fields of workitem like Type, Category, Found in Phase,reproducible, Found in build. I have created a workitem. But I get a error work item is not saved giving All the above mentioned fields are empty. few of those fields are read only. I am not able to write to it. Please someone can help me out soon.
Thanking you in advance

An easy way is installing TFS Power Tools, which provides a Process Template Editor.
Process Template Editor is a Visual Studio add-in, located under the Tools menu. The Process Template Editor provides a graphical user interface for customizing work items (field, workflow and the form) and process templates.

Related

How to add custom status values to Team Foundation Server 2018

I am trying to customize the available statuses for various work item types in my on premises Team Found Server 2018 installation. I cannot find any detailed instructions on how to do this. I have done this in other versions and it was very simple. Any information on how this can be accomplished would be greatly appreciated.
TFS 2018 uses XML process templates. Detailed information you find here: Customize a process template. Additionally, you can use Process Template Editor extension for Visual Studio that you can find here TFS Process Template Editor or through VS Extensions:
TFS Process Template Editor makes the edit process more easy. Here you can the video: Customize Team Foundation Server Process
You can open find the Process editor menu item and open a work item type from an existing team project:
Select it from the list:
You can find and edit the states of the work item on the Workflow page:
Add new states and transitions between them with toolbox:
Then just press the save button.

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.

Can you change the process template for a Team Project in TFS

I have a project in VS2013 online. It was setup with the default Process template (Scrum 2.0). I have a lot of source code with history but have nothing else, no workitems/backlog/tasks/stories/bugs etc.
I would like to change the template to the Agile template but cant see a way to do this.
Is this possible?
1) If you are using VSO then no.
Your only option would be to create a new Team Project. If it is a TFVC project you will be able to branch your source into the new project on the same instance.
2) If you are using Team Foundation Server then you can
Its very strait forward for your circumstance. I would however sugest that the Agile template is not right for you 😊:
Change Process Template
Template Choice
My recommendation is to keep the Scrum template but if you really want User Storys then rename PBI to user story. If your PM's want Original Estimate and Completed Work fields then add them. You are bot going to get far into agility if you are fighting against the tool...
P.s. Feel free to email me to discuss offline 😊
It is possible to change project template in visual studio team services when you are going between processes derived from same master template. E.g. I took Agile template and added few more states to features.
To change process templates in vsts:
Open process lists page (/_admin/_process)
Click ... next to process template you want to use to show popup menu
Select "Change team project to use "...

TF285017: The Assigned To field cannot be blank

I'm working with TFS 2010 and Project 2010 Feature Integration pack and the Scrum for Team System v3 process template. Within the Project Server tab, I'm trying to set the default value for "Submit to Project Server" and "Enterprise Project" (which works fine), but when the Project Backlog Item is created/saved, it always fails when trying to sync with Project Server with the error message in the title of this post: TF285017: The Assigned To field cannot be blank.
I've Googled the error code, and it seems like there is no documentation for it anywhere. Can someone help?
Ultimately I fixed by adding the Assigned To field to the template and making it required. This probably isn't the best way to solve this issue, but does get around the error (and making the field required was something I was going to do anyway).
As the error states, in the TFS process template for the backlog item, the Assigned To field is mandatory. It needs to be filled before it can be synced with the other system.
You might try to remove the required flag from the Assigned To field in the workitem by using the TFS Power Tools process editor.

Can a defect be logged into any custom WI directly from MS Test Runner? if so how?

In VSTS 2010 – in MS Test Runner
A defect can be logged against a work item called “BUG” by default.
This bug will have all the details relevant to the test that is run like the information in the following tabs in workitem bug – details tab, System info tab , Test Cases tab, etc .,
Instead of logging defects in workitem “BUG” is it possible to log defects to any other custom workitem but still manage to hold all these details tab , system info tab , test cases tab, etc., into the custom WI.
Please refer the attachment .
You need to put your custom work item type into the Microsoft.BugCategory category. Take a look at the command line tool witadmin in %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE
The following blog post might help you:
VS2010 Work item categories
If you want all the controls as well (like repro steps control), then you need to make sure the appropriate fields and form controls are copied over into the work item from the Microsoft work item definitions.

Resources