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.

6. In the Query Edit dialog box, click the Fields tab, select all the relevant fields you<br />

want to display (including MyBug.CustomField.1) from the available columns, click<br />

the > button, to move them to the Selected Columns pane.<br />

If you do not see the custom field you have added, make sure that you have saved the<br />

ProcessTemplate.xml file and then try again.<br />

7. Click the Criteria tab, leave the And Or column blank, and then in the Field column,<br />

select MyBug.CustomField.1. In the Operator column, select > and then in the<br />

Value column, type “1”<br />

Be sure to add quotes around the value 1 because the field is a string data type. If you<br />

had selected integer or some other numeric type when creating the Security Impact<br />

field, the quotes would not be necessary.<br />

8. Click OK twice.<br />

This query ensures that all work items that have “MyBug.CustomField.1” set to a value<br />

greater than 1 will be displayed in the output of the query.<br />

Note: The Process Editor does not provide comprehensive features for editing queries. It<br />

is better to edit and test queries in a running team project in <strong>Visual</strong> <strong>Studio</strong> than in a<br />

process template. You can then save the queries to files that can be imported into other<br />

projects or copied into process templates.<br />

Step 8 – Modify Areas and Iterations<br />

In this step, you set up the default iterations and areas that are available at the time of<br />

team project creation.<br />

1. In the Process Template Explorer, click Areas & Iterations.<br />

2. In the right pane, click the Areas or Iterations tab.<br />

3. Use the toolbar in the right pane to add, remove, or move areas or iterations<br />

For example, you can add a few default areas to organize projects created by using this<br />

template as follows:<br />

1. In the Process Template Explorer, click Areas & Iterations.<br />

2. In the right pane, click the Areas tab.<br />

3. Click the new button.<br />

4. In the area name text field, type UI<br />

5. Select Area, because you want the next area to be a child of the root area node.<br />

6. Click the new button again.<br />

7. In the area name text field, type Back End<br />

Any new projects that use your process template will now automatically have a UI and<br />

Back End area defined for them.<br />

Step 9 – Modify Groups and Permissions<br />

In this step, you modify, remove, or add groups and their permissions that are available at<br />

the time of team project creation.

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

Saved successfully!

Ooh no, something went wrong!