In this lesson, you create a team area and a work item
category, and associate the category with the team area. Then, you
restrict visibility and access to the work items that are filed against
that category so that only team members can see and access them.
About this task
The categories that are defined for a project area populate
the values in the work item Filed Against field.
When you select a category from the Filed Against list,
you associate the work item with the team that is responsible to address
it. When you restrict the visibility of a category, users who are
not members of the associated team area do not see that category in
the Filed Against field values. When you restrict
access to a category, users who are not members of the associated
team area cannot see work items that are filed against that category.
Procedure
To create a team area and work item category:
- If you are logged on as Bill, log out, and then log on
as Helen.
- Create a team area:
- On the My Tutorial Project Area Overview page, click
the Create Team icon .
- Enter a name such as My Tutorial Team Area.
- In the Members section, click Add.
- Add yourself as a member, then click Save to
save the team area.
- In the Members section, click , the Members Menu icon
for your entry, and select Add Process Roles to 1 Members.
- In the Add Roles window, select the Product
Owner role. Click Add.
- Click Save to save the team area.
- Add a category:
- In the Team Area Hierarchy section, click the parent project
area to open it.
- Click Categories.
- In the row for the project area category, click the Actions icon
and select Add Category.
- Enter a name for the category, and then click OK.
- Click the Actions icon again and select Associate.
- Select the team area, and then click Associate.
- Select Restrict Category Visibility and Restrict
Work Item Access for the new category. Then, click Save to save
the project area.
Note: The Restrict Category Visibility option does not restrict visibility of
categories within the project administration pages. Therefore, you cannot use the Restrict Category
Visibility option to restrict the visibility of sensitive data. All users with read access to the
project area have read access to the project area’s administration pages where you can see all the
category names.
- From the Home menu, select the project
area.
- Create a defect:
- Click .
- Enter a name, such as Test Defect 1.
- Click the Filed Against list.
The new category is listed.
- Select the new category, and click Save to
save the work item.
- Log out, and then log on as Bill. Because you are logged
on as a user who is not a member of the team area that is associated
with category that the work item is filed against, a message indicates
that the work item cannot be fetched.
- Create a query:
- Select .
- Click the Add Condition icon .
- Double-click Created By, and then click the Add
User icon .
- Enter the name of the user who created the work item, Helen.
- Select that user, and then click Add and
Close.
- Click Run to run the query. The work item that is filed against
the category that is associated with the team area is not listed in the results. Click
Cancel to close the query.
- Click .
- Click the Filed Against list.
The category that is associated with the team area is not listed.
Click Cancel to close the work item.
Because you are logged on as a user who is not a member of the
team area that is associated with the work item category, you cannot
see the category in the Filed Against list,
and you cannot see work items that are filed against that category.