26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The new work item type will be created and will be available in the Item List on the<br />

Type Definitions tab in the right pane.<br />

5. On the File menu, click Save to save your changes.<br />

For example, you can create a new Bug type named ‘My Bug,’ copied from the Bug work<br />

item type.<br />

You can now edit the work item type to modify its behavior.<br />

To edit a work item type<br />

• If you want to add/remove attributes fields to/from the new work item type or an<br />

existing work item type, on the Type Definitions tab, right-click the work item type<br />

you want to edit, and then click Open.<br />

The selected work item type opens in a new <strong>Visual</strong> <strong>Studio</strong> window where you can<br />

add or remove the attributes you want.<br />

To add a new field to the work item<br />

1. Click the Fields tab, and then click Add in the toolbar.<br />

2. In the Field Definition dialog box, enter the details as specified below:<br />

a. Name – Type the name of the new field.<br />

b. Type – In the Data type the drop-down list, select the data type for this field.<br />

c. RefName – Enter a unique Identifier for the field in TFS. The identifier must<br />

have at least one period in the name; for example, Test.Test1.<br />

d. Help Text – Type the text that you want the user to see when he or she moves<br />

the pointer over the name of the field. Generally, this text provides a<br />

definition of the field’s purpose.<br />

e. Reportable – Select the desired option in the Reportable drop-down list.<br />

This determines whether to make the data in this field available for TFS<br />

reports. The following options are available:<br />

i. Dimension – Use this for fields that have lists of valid values. Work<br />

Item Type and State are good examples of dimensions. The Dimension<br />

field can be used to filter reports.<br />

ii. Detail – This option is a good choice for unrestricted text fields<br />

because it lets you use them in reports. However, any reports that you<br />

build using these fields must use the relational database instead of the<br />

cube.<br />

iii. Measure – Measures are the numeric values in your reports. Each<br />

measure will appear in both the Current Work Item measure group and<br />

the Work Item History measure group.<br />

f. Formula – This drop-down list is shown only if you select Measure in the<br />

Reportable field. Examples of formula options include sum, count, and avg.<br />

3. For any new field added to the work item type, you can constrain the values that the<br />

user can enter into a field. You can also constrain a field when the work item is in a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!