Defining Work Item Type Fields
Work Item forms use fields to display data, or to let users input data or select options. You control the appearance and behavior of fields on work item forms by defining those fields in the work item type definition.
In the work item type definition, define a field by specifying a name, a reference name, and a type. Fields can also be defined to include Help text, to follow rules, and to exhibit specific reporting behavior.
<FIELD refname="System.Title" name="Headline" type="String" reportable="Dimension"> <!-- Field Help Text and Rules go here --> </FIELD>
In This Section
- Field Types
Describes the valid field types, such as String, DateType, or HTML.
- Field Names
Describes the use of the field name that is the unique, user-visible identifier of a field for Team Foundation Server.
- How to: Add a Field to a Work Item Type
Describes how to add a work item type field by modifying the work item type XML file.
- How to: View a Work Item Type Field
Describes how to view a work item type field using the command-line tool witfields.
- How to: Rename a Work Item Type Field
Describes how to rename a work item type field using the command-line tool witfields.
- How to: Delete a Work Item Type Field
Describes how to delete a work item type field using the command-line tool witfields.
- Field Reference Names
Describes the use of field reference names that are globally unique and therefore are portable between Team Foundation Servers.
- Available Field Rules
Describes field rules that define the behavior and constraints on fields.
- Using Fields for Reporting
Describes the use of the optional reportable attribute and its values.
- Using System Fields
Describes all system fields that can be used for work item types.
- Defining Field Help Text
Describes how to associate Help text with fields by using the <HELPTEXT> tag.