You can customize a project area or a team area to require
that users provide values for specific attributes. You can specify
different required fields for each work item type.
About this task
You can also use the implied attributes feature to set the Owner field
of a work item to a specific value depending on the type of action
a user takes.By default, the required attributes and implied attributes
that you set for a project area apply to the team areas that belong
to that project area. You can specify different required attribute
and implied attribute settings for each team area.
Procedure
- Open the Operation Behavior page:
- In the Team Artifacts view of the Work Items perspective,
right-click the project area and select Open.
- Click the Process Configuration tab.
- Expand , and then
click Operation Behavior.
Alternatively, open the Team Area page. In the Process Customization
section, click Customize the process, and then
select Operation Behavior.
- In the Operation Behavior grid, the rows identify operations
and the column headings identify roles. Add a precondition for the
Save Work Item operation:
- In the Save Work Item row, click in the cell for the
role to which you want the precondition to apply.
For
example, to have the precondition apply to all roles, click in the Everyone cell.
- Set Preconditions and follow-up actions are
configured for this operation.
- In the Preconditions section, click Add.
- Select a precondition and click OK.
- Customize the precondition:
- Select the precondition you want to customize, then
select the category, type, or state for which you want to set required
attributes.
- To have the precondition apply to all states in a work item type
or work item type category, select the type or type category.
- To have the precondition apply to only certain states, expand
the work item type category or work item type and select a state.
For example, you might require users to enter values in the Owned
By and Planned For fields for the
In Progress state.
- Click Edit.
- Select the required attributes, and then click OK.
- Optionally, set required attributes for additional states.
For the
Implied Attributes precondition,
configure dependent attributes that will be automatically cleared
or set to a specific value when a work item is saved after one of
the following changes:
- The team area changes
- A user starts working on a work item
- A user resolves a work item
For the specified changes, select a category or type, then click
Edit to
customize the changes that are made when the work item is saved.
- Click Apply changes.
- Click Save to save your changes
to the project area or team area.