<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>Perforce Defect Tracking Integration User's Guide</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#000099" vlink="#660066" alink="#FF0000">
<div align="center">
<p><i><a href="/project/p4dti/">Perforce Defect Tracking Integration Project</a></i></p>
<hr />
<h1>Perforce Defect Tracking Integration User's Guide</h1>
<address>
<a href="mailto:rb@ravenbrook.com">Richard Brooksby</a>,
<a href="http://www.ravenbrook.com/">Ravenbrook Limited</a>,
2000-08-10
</address>
</div>
<h2><a id="contents" name="contents">Contents</a></h2>
<ul>
<li><a href="#section-1">1. Introduction</a></li>
<li><a href="#section-2">2. Overview of the software</a>
<ul>
<li><a href="#section-2.1">2.1. A typical workflow using the <abbr>P4DTI</abbr></a></li>
<li><a href="#section-2.2">2.2. Restrictions on using the <abbr>P4DTI</abbr></a></li>
</ul>
</li>
<li><a href="#section-3">3. Creating an issue</a></li>
<li><a href="#section-4">4. Finding issues assigned to you</a>
<ul>
<li><a href="#section-4.1">4.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-4.2">4.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-5">5. Editing an issue</a>
<ul>
<li><a href="#section-5.1">5.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-5.2">5.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-6">6. Starting work and linking it to issues</a>
<ul>
<li><a href="#section-6.1">6.1. Setting your user jobview</a></li>
<li><a href="#section-6.2">6.2. Using the Perforce Windows GUI to start work and link it to issues</a></li>
<li><a href="#section-6.3">6.3. Using the Perforce command line to start work and link it to issues</a></li>
</ul>
</li>
<li><a href="#section-7">7. Submitting partial work while keeping issues</a></li>
<li><a href="#section-8">8. Submitting completed work and resolving issues</a>
<ul>
<li><a href="#section-8.1">8.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-8.2">8.2. From the Perforce command line</a></li>
<li><a href="#section-8.3">8.3. Using the Perforce development environment plug-ins</a></li>
</ul>
</li>
<li><a href="#section-9">9. Linking already-completed work to an issue</a>
<ul>
<li><a href="#section-9.1">9.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-9.2">9.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-10">10. Finding the changes linked to an issue</a>
<ul>
<li><a href="#section-10.1">10.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-10.2">10.2. From the Perforce command line</a></li>
<li><a href="#section-10.3">10.3. Using the defect tracker</a></li>
</ul>
</li>
<li><a href="#section-11">11. Finding the issues linked with a change</a>
<ul>
<li><a href="#section-11.1">11.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-11.2">11.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-12">12. Finding the files affected by an issue</a>
<ul>
<li><a href="#section-12.1">12.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-12.2">12.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-13">13. Finding out how files have been affected by issues</a></li>
<li><a href="#section-14">14. Finding the issues you're working on</a>
<ul>
<li><a href="#section-14.1">14.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-14.2">14.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-15">15. Finding out where an issue is being worked on and by whom</a>
<ul>
<li><a href="#section-15.1">15.1. In the Perforce Windows GUI</a></li>
<li><a href="#section-15.2">15.2. From the Perforce command line</a></li>
</ul>
</li>
<li><a href="#section-A">A. References</a></li>
<li><a href="#section-B">B. Document history</a></li>
<li><a href="#section-Glossary">Glossary</a></li>
</ul>
<h2><a name="section-1" id="section-1">1. Introduction</a></h2>
<p>This manual is the Perforce Defect Tracking Integration 1.0 User's Guide. It teaches the use of the Perforce Defect Tracking Integration; detailed instructions on using Perforce and your defect tracker aren't given here. If you need more information on using Perforce, please see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>, the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/cmdref/">Perforce Command Reference</a></cite>, or the Perforce on-line help system. If you need more information on using your defect tracking system, please see the manuals for the system or consult your defect tracking administrator. </p>
<p> If you're administering the Perforce Defect Tracking Integration (<abbr>P4DTI</abbr>), you'll need our <cite>Perforce Defect Tracking Integration Administrator's Guide</cite>. If you're installing the <abbr>P4DTI</abbr>, the Administrator's Guide is the place to start. </p>
<h2><a name="section-2" id="section-2">2. Overview of the software</a></h2>
<p> The <abbr>P4DTI</abbr> makes the defect tracker's records appear as jobs in Perforce. You can work with jobs more or less just as described in the Perforce manuals, and your changes are reflected in the defect tracker. This saves you having to switch between Perforce and the defect tracker to do your work. For information on how to work with jobs in Perforce, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<p> Perforce has a mechanism for linking changelists to jobs. The <abbr>P4DTI</abbr> links the changelists to defect tracker issues as well, so you don't need to switch to the defect tracker and copy out information about your changes. Linking also allows you to: </p>
<ol>
<li> Record work done for a particular reason. </li>
<li> Find out which work has been integrated into a codeline. </li>
<li> Determine which issues have been addressed by a particular version of the source code. </li>
<li> Find out what changed in order to resolve an issue. </li>
<li> Find out which defect tracker issues have influenced a file, so that you can understand the reasons for its design. </li>
</ol>
<p> The <abbr>P4DTI</abbr> makes the links to changelists appear in the defect tracker, making it easy to see what was done or is currently being done to resolve a defect. </p>
<p> See the <cite>Perforce Defect Tracking Integration Administrator's Guide</cite> for an overview of how the <abbr>P4DTI</abbr> works. </p>
<h3><a id="section-2.1" name="section-2.1">2.1. A typical workflow using the <abbr>P4DTI</abbr></a></h3>
<p> A typical organization might use the <abbr>P4DTI</abbr> in the following way:</p>
<ol>
<li> The development manager assigns a defect tracking issue to a developer. </li>
<li> The developer notices the issue in her list of jobs. </li>
<li> The developer analyzes the issue and updates the job. Her analysis is replicated back to the defect tracker and appears there too. </li>
<li> The developer checks out some files to work on to fix the problem, and links her pending work to the job. The link is replicated back to the defect tracker, and her colleagues can tell that the issue is being worked on, by whom, and where. </li>
<li> The developer finishes fixing the defect and submits her changelist. The job status changes, and this change causes a corresponding change in the defect tracker, so that the issue is marked as "resolved" and moved on to the test group for verifying. </li>
<li> The test group checks that the issue is resolved, and also runs tests on the areas of the system that were changed to make sure they weren't damaged. </li>
</ol>
<p> For information about your organization's workflow policy, or how you should use the <abbr>P4DTI</abbr>, consult your manager or the <abbr>P4DTI</abbr> administrator. </p>
<h3><a name="section-2.2" id="section-2.2">2.2. Restrictions on using the <abbr>P4DTI</abbr></a></h3>
<p> The <abbr>P4DTI</abbr> has the following restrictions: </p>
<ul>
<li> If you do something in Perforce that the defect tracker doesn't allow--for example, if your action causes an error, or if it's forbidden by the defect tracker's rules--then the replicator undoes the change in Perforce when it next wakes up, and sends you an e-mail message explaining what happened. The e-mail message contains your changes, so you won't have lost them. </li>
<li> You can link changelists to issues, to record the work you did for a particular reason. Your organization might have a policy about which changelists to link with issues. For example, some organizations might want only the final check-in of a fix linked, and some might want all the intermediate stages linked. Your organization's policy may not allow some of the procedures in this manual; for information about your organization's policy, consult your manager or the <abbr>P4DTI</abbr> administrator.</li>
</ul>
<h2><a name="section-3" id="section-3">3. Creating an issue</a></h2>
<p> Create issues in the defect tracker as normal. Each organization has its own policies for how to create issues, so if you need instructions, consult your defect tracker administrator. </p>
<p> You can't create issues by creating jobs in Perforce. </p>
<h2><a name="section-4" id="section-4">4. Finding issues assigned to you</a></h2>
<p> You can use the defect tracker to see a list of issues assigned to you in the normal way. In addition, your defect tracker might be configured to send you e-mail messages when issues are assigned to you. </p>
<p> You can also use Perforce to see the issues assigned to you, as described in the following subsections. Each issue is represented by a Perforce job, and you can use the Perforce job commands. Each job has a field containing the name of the user to whom it is assigned, and another containing its status. The exact name of these fields depends on which defect tracker you're using and how the <abbr>P4DTI</abbr> has been configured for your organization. Ask your <abbr>P4DTI</abbr> administrator if you're not certain which field to use. This section assumes that the user field is called "owner", the status field is called "state", and the "state" field is set to "assigned" when an issue is assigned for development. </p>
<p> Perforce 2000.2 does not provide a way of viewing the list of jobs assigned to you from the Web GUI (P4Web) or any of the development environment plug-ins. </p>
<h3><a id="section-4.1" name="section-4.1">4.1. In the Perforce Windows GUI</a></h3>
<p> To find issues assigned to you, follow these steps:</p>
<ol>
<li> Select the Perforce Jobs pane by choosing <span class="gui">Job > View Jobs</span>. </li>
<li> Choose <span class="gui">Job > Filter</span> and enter a <dfn>jobview</dfn> such as "owner=spqr". This procedure restricts the jobs you see to those assigned to you, as shown in <a href="#figure-1">Figure 1</a>. For detailed instructions on creating a jobview, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </li>
</ol>
<p> You might also find it useful to click the job status column heading to sort the jobs by their status, or to enter a jobview like "owner=spqr state=assigned" to restrict the view further. </p>
<div align="center">
<p> <a id="figure-1" name="figure-1">Figure 1. Viewing jobs assigned to you from the Perforce Windows GUI</a> </p>
<img src="p4win-job-pane.gif" alt="A screenshot of the Jobs pane in the Perforce Windows GUI" width="648" height="380" />
</div>
<h3><a id="section-4.2" name="section-4.2">4.2. From the Perforce command line</a></h3>
<p>To find issues assigned to you, enter a <code class="command">p4 jobs</code> command. For example, the following command displays a list of jobs that belong to the user whose Perforce userid is "spqr": </p>
<blockquote> <code class="command">p4 jobs -e "owner=spqr"</code> </blockquote>
<p> The following command further limits the output to jobs that have been assigned to that user: </p>
<blockquote> <code class="command">p4 jobs -e "owner=spqr state=assigned"</code> </blockquote>
<h2><a name="section-5" id="section-5">5. Editing an issue</a></h2>
<p> You can edit an issue by editing the contents of the job in Perforce. Your changes are replicated back to the defect tracker. This procedure is useful when you want to: </p>
<ul>
<li> add more description to the job record. </li>
<li> write notes about how the job was fixed, what else needs to be done, and so on. </li>
<li> correct something in the job record. </li>
<li> change the job status. </li>
<li> add a note to the issue and change its status. For example, there might be a work-around that you need to tell people about, rather than fixing anything in the code. </li>
<li> send the issue back to your manager because you can't do it for some reason. </li>
</ul>
<p> If you change the issue in a way that the defect tracker doesn't allow--for example, if your action causes an error, or if it's forbidden by the defect tracker workflow--then the replicator undoes the change in Perforce when it next wakes up, and sends you an e-mail message explaining what happened. The e-mail message contains your changes, so you won't have lost them. </p>
<p> To change an issue, edit the job in Perforce as described in the following subsections. Depending on your organization's policies, you might need to add some text explaining why you've edited the job. (If you <em>have</em> made changes and have already submitted them, you need to link them to the job using the method described in <a href="#section-9">Section 9, "Linking already-completed work to an issue"</a>.) </p>
<p> Perforce 2000.2 does not provide a way of editing an issue from the Web GUI (P4Web) or any of the development environment plug-ins. </p>
<h3><a id="section-5.1" name="section-5.1">5.1. In the Perforce Windows GUI</a></h3>
<p>To edit an issue, follow these steps:</p>
<ol>
<li>Select the job you need to edit.</li>
<li>Choose <span class="gui">Job > Edit Spec <i>jobname</i></span>.</li>
<li>Edit the job appropriately. (For an example of editing a job, see <a href="#figure-2">Figure 2</a>).</li>
</ol>
<div align="center">
<p> <a id="figure-2" name="figure-2">Figure 2</a>. Editing a job using the Perforce Windows GUI</p>
<img src="p4win-edit-job.gif" alt="A screenshot of the job editing dialog in the Perforce Windows GUI" width="587" height="507" />
</div>
<h3><a id="section-5.2" name="section-5.2">5.2. From the Perforce command line</a></h3>
<p> To edit an issue from the Perforce command line, enter a <code class="command">p4 job</code> command and edit the job appropriately. For example, the following command opens a form in your editor that allows you to edit the job BUG00094: </p>
<blockquote> <code class="command">p4 job BUG00094</code> </blockquote>
<p> For more information, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<h2><a name="section-6" id="section-6">6. Starting work and linking it to issues</a></h2>
<p> The <abbr>P4DTI</abbr> allows you to link your work in progress to an issue. This link records your intentions and so has several advantages: </p>
<ul>
<li> you can find out later why you have files checked out. For instructions, see <a href="#section-14">Section 14, "Finding the issues you're working on"</a>. </li>
<li> you can find out later where you're working on an issue. For instructions, see <a href="#section-15">Section 15, "Finding out where an issue is being worked on and by whom"</a>. </li>
<li> other people can find out who's working on an issue and where. For instructions, see <a href="#section-15">Section 15, "Finding out where an issue is being worked on and by whom"</a>. </li>
</ul>
<p> To gain these advantages, you first need to set up a user jobview as described in <a href="#section-6.1">Section 6.1</a>, and then create a <dfn>pending changelist</dfn> containing your edits and link it to a Perforce job, as described in <a href="#section-6.2">Section 6.2</a> (for the Perforce Windows GUI) or <a href="#section-6.3">Section 6.3</a> (for the Perforce command line). The link will show up in the defect tracker. For more information, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<p> Note that you can only ever link a changelist with an issue once. If you link it with the same issue again using a different keyword, the effect is just to change the keyword. </p>
<p>Perforce 2000.2 has no way of handling numbered pending changelists from the Web GUI (P4Web) or any of the development environment plug-ins, so this method is not available from those interfaces.</p>
<h3><a id="section-6.1" name="section-6.1">6.1. Setting your user jobview</a></h3>
<p>To set your user jobview in the Perforce Windows GUI, follow these steps:</p>
<ol>
<li> Choose <span class="gui">User > Edit spqr</span> (where "spqr" is your Perforce userid). </li>
<li> Type something like "owner=spqr state=assigned" in the JobView field. </li>
</ol>
<p>To set your user jobview from the Perforce command line, follow these steps:</p>
<ol>
<li> Edit your user spec by typing <code class="command">p4 user</code>. </li>
<li> Set your jobview to something like "owner=spqr state=assigned" (where "spqr" is your Perforce userid). </li>
</ol>
<h3><a id="section-6.2" name="section-6.2">6.2. Using the Perforce Windows GUI to start work and link it to issues</a></h3>
<p> To start work and link it to an issue, follow these steps: </p>
<ol>
<li> Select the Pending Perforce Changelists pane by choosing <span class="gui">Changelist > View Pending Changelists</span>. </li>
<li> Choose <span class="gui">Changelist > New</span>. This brings up the dialog shown in <a href="#figure-3">Figure 3</a>. </li>
<li> Enter a description of the changes you're making in the <span class="gui">Description</span> field. </li>
<li> Uncheck any edits that you don't want to include in the <span class="gui">Filespecs</span> list. (The Filespecs list is the list of edits from the default changelist.) </li>
<li> Check the boxes next to the names of the jobs with which you want to link your edits. (If the list of jobs doesn't show up, then cancel the dialog, press F5, and try again.) </li>
<li> Choose the status to which you want to change those jobs from the <span class="gui">JobStatus</span> menu. The statuses are changed when the changelist is submitted. </li>
<li> Click <span class="gui">OK</span> to create the changelist. </li>
</ol>
<p> You can also add more links to jobs by selecting the changelist, choosing <span class="gui">Changelist > Edit Spec</span>, and repeating the steps above. </p>
<p> To add more links and set the status of the jobs to "closed", follow these steps: </p>
<ol>
<li> Select the changelist that you want to link. </li>
<li> Choose <span class="gui">Changelist > Add Job Fix</span>.</li>
<li> Select the set of jobs you want to link the changelist with in the dialog. (See <a href="#figure-8">Figure 8</a> for an example.) </li>
<li> Click <span class="gui">OK</span>. </li>
</ol>
<p> Note that the list of jobs in this dialog is <em>not</em> related to your user jobview. It's the same list as in the Perforce Jobs pane. (See <a href="#figure-1">Figure 1</a> for an example of the Perforce Jobs pane). </p>
<p> To add more edits to the changelist later, drag the edits from other changelists. </p>
<p> To check out files for edit, drag them from the depot view. </p>
<p> To delete links to jobs, select the link inside the changelist and choose <span class="gui">Changelist > Remove Job Fix</span>. </p>
<!-- <div align="center">
<p>
<a id="figure-3" name="figure-3">Figure 3</a>. The pending changelist pane in the Perforce Windows GUI
</p>
<img src="p4win-pending-changelist.gif" alt="A screenshot of the pending changelist pane in the Perforce Windows GUI" width="707" height="464" />
</div> -->
<div align="center">
<p> <a id="figure-3" name="figure-3">Figure 3</a>. Creating a new changelist and linking it to jobs </p>
<img src="p4win-new-change.gif" alt="Screenshot showing the new changelist dialog in the Perforce Windows GUI" width="691" height="541" />
</div>
<h3><a id="section-6.3" name="section-6.3">6.3. Using the Perforce command line to start work and link it to issues</a></h3>
<p> To start work and link it to an issue, follow these steps: </p>
<ol>
<li>
Create a new pending changelist with your changes by using the following command:
<blockquote><code class="command">p4 change -s</code></blockquote>
This command opens a change specification in your editor. With the "-s" option, a list of jobs that match your jobview appears in the text form (see <a href="#figure-4">Figure 4</a>).
</li>
<li> Enter a description of your changes under the "Description" heading, as usual. </li>
<li> Delete any edits that you don't want to include from the <span class="gui">Filespecs</span> list. (The Filespecs list is the list of edits from the default changelist.) </li>
<li> Edit the keyword next to the names of the jobs you want linked with the change. When the change is submitted, the change is linked with the jobs, and the job statuses change to match this keyword. Jobs that have the keyword "ignore" won't be changed or linked. </li>
<li> Add similar lines for other jobs you want to link. Delete lines for jobs you don't want linked. </li>
<li> Close your editor to create a pending changelist with the jobs linked. </li>
</ol>
<p> When you submit a pending changelist later, the status of the linked jobs changes as specified. (To submit a pending changelist, use a command like <code class="command">p4 submit -c <i>changelist</i></code>). </p>
<p> You can also add more links to jobs by using the following command: </p>
<blockquote><code class="command">p4 change <i>changelist</i></code></blockquote>
<p> where <i>changelist</i> is the number of the changelist you created above. </p>
<p> To link pending changelists with jobs, use a command like the following: </p>
<blockquote> <code class="command">p4 fix -s resolved -c 3004 ENH00034 BUG00094</code> </blockquote>
<p> (where "resolved" is the status you want the jobs to change to, "3004" is the pending changelist number, and "ENH00034" and "BUG00094" are the jobs you want to link the changelist with). </p>
<p> To add more edits to the changelist later, use the <code class="command">-c</code> option to many Perforce commands, or move the edits from other changelists using the <code class="gui">p4 reopen -c</code> command. For more information, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<p> To remove links, use a command like the following: </p>
<blockquote> <code class="command">p4 fix -d -c 3004 ENH00034 BUG00094</code> </blockquote>
<p> (where "resolved" is the status you want the jobs to change to, "3004" is the pending changelist number, and "ENH00034" and "BUG00094" are the jobs you want to remove the link from). </p>
<div align="center">
<p> <a id="figure-4" name="figure-4">Figure 4</a>. Selecting jobs to link when submitting or creating a change from the command line with a jobview set </p>
<table border="1" cellspacing="0" cellpadding="5"><tr><td><pre>
# A Perforce Change Specification....
Change: new
Client: newton-skylark
User: newton
Status: new
Description:
<enter description here>
Jobs:
BUG00003 ignore # When -O3 is specified, some loo
BUG00001 ignore # The division operator gets its
BUG00002 ignore # There's no delete command
Files:
//depot/project/editor/src/buffer.c # edit
//depot/project/editor/src/buffer.h # edit
</pre></td></tr></table>
</div>
<h2><a name="section-7" id="section-7">7. Submitting partial work while keeping issues</a></h2>
<p> You can submit a change and link it to an issue without changing the issue status. This procedure allows an organization to track partially completed work that's related to an issue, as well as the final submission that resolves it. </p>
<p> <strong>Note</strong>: Your organization's policy regarding links between changes and issues might not allow you to use this feature. For more information, consult your manager or <abbr>P4DTI</abbr> administrator. </p>
<p> If you're linking intermediate stages of changelists with issues, you probably don't want to change the status of the issue. The way to do this is to link the changelist with the issue as usual, but with the same status as the issue currently has. For example, in Perforce you can use the <code class="command">p4 fix</code> command with the "-s" argument set to the current status of that issue. When linking the final check-in, the "-s" argument is something like "fixed" or "resolved" or perhaps "closed". </p>
<p> To submit partial work while keeping issues, follow the procedures described in <a href="#section-8">Section 8</a>, except that, when fixing the job, set the status to the job's <em>current</em> status, rather than to the resolved status. </p>
<h2><a name="section-8" id="section-8">8. Submitting completed work and resolving issues</a></h2>
<p> Once you have completed work on a job, you can use Perforce to submit the associated changelist, link the changelist to the job, and change the job status, all at the same time. </p>
<p> Make sure your jobview is set before you follow the procedures in this section. See <a href="#section-6.1">Section 6.1, "Setting your user jobview"</a>. </p>
<p> Perforce 2000.2 has no way of linking submitted changelists with jobs from the Web GUI (P4Web). </p>
<h3><a id="section-8.1" name="section-8.1">8.1. In the Perforce Windows GUI</a></h3>
<p> To submit completed work and resolve issues, follow these steps: </p>
<ol>
<li> Select the Pending Perforce Changelists pane by choosing <span class="gui">Changelist > View Pending Changelists</span>. </li>
<li> Select the changelist you want to submit. </li>
<li> Choose <span class="gui">Changelist > Submit</span>. This command opens the dialog shown in <a href="#figure-5">Figure 5</a>. </li>
<li> Enter a description of the changes you're making in the <span class="gui">Description</span> field. </li>
<li> Check the boxes next to the names of the jobs with which you want to link your edits. (If the list of jobs doesn't show up, then cancel the dialog, press F5, and try again.) </li>
<li> Select the status to which you want to change those jobs from the <span class="gui">JobStatus</span> menu. </li>
<li> Click <span class="gui">Submit</span> to submit the changelist, link to the jobs, and change the job statuses. </li>
</ol>
<div align="center">
<p> <a id="figure-5" name="figure-5">Figure 5</a>. Selecting jobs to link when submitting from the Perforce Windows GUI with a jobview set </p>
<img src="p4win-submit-dialog.gif" alt="A screenshot of the submit dialog from the Perforce Windows GUI" width="691" height="541" />
</div>
<h3><a id="section-8.2" name="section-8.2">8.2. From the Perforce command line</a></h3>
<p>If the edits you want to link are on your default changelist, follow these steps to submit completed work and resolve issues: </p>
<ol>
<li> Enter the command
<blockquote><code class="command">p4 submit -s</code></blockquote>
This command opens a change specification in your editor. With the "-s" option, a list of jobs that match your jobview appears in the text form. (See <a href="#figure-4">Figure 4</a> for an example.)
</li>
<li> Enter a description of your changes under the "Description" heading, as usual. </li>
<li> Edit the keyword next to the names of the jobs you want linked with the change. The change is linked with the jobs, and the job statuses are changed to match this keyword. Jobs that have the keyword "ignore" won't be changed or linked. </li>
<li> Add similar lines for other jobs you want to link. Delete lines for jobs you don't want linked. </li>
<li> Close your editor to submit the change, link the jobs, and change their statuses. </li>
</ol>
<p> If the edits you want to link are on a pending changelist, follow these steps: </p>
<ol>
<li> Edit the changelist as described in <a href="#section-6.3">Section 6.3, "Using the Perforce command line to start work and link it to issues"</a>. </li>
<li> <p> Submit the changelist by entering the command </p>
<blockquote><code class="command">p4 submit -c <i>changelist</i></code></blockquote>
</li>
</ol>
<h3><a id="section-8.3" name="section-8.3">8.3. Using the Perforce development environment plug-ins</a></h3>
<p> To submit completed work and resolve issues, follow these steps: </p>
<ol>
<li> Begin your usual check-in procedure. When the check-in dialog opens, leave the check-in comment blank and click <span class="gui">OK</span>. This procedure opens a second, more detailed, dialog that includes a list of jobs to choose from. (See <a href="#figure-6">Figure 6</a> for an example.) </li>
<li> Enter a description of your changes, as usual. </li>
<li> Delete the jobs you <em>don't</em> want to link with your changelist from the list. You may also add similar lines for other jobs you want to link. </li>
<li> Enter the new status for the jobs in the <span class="gui">JobStatus</span> field. </li>
<li> Click <span class="gui">OK</span> to submit the changes. </li>
</ol>
<p> When you submit your changelist, the status of the jobs you left in the form is updated to match the <span class="gui">JobStatus</span> field and the changelist is linked with them with that status. </p>
<div align="center">
<p> <a id="figure-6" name="figure-6">Figure 6</a>. Selecting jobs to link when submitting from Visual Studio </p>
<img src="p4plugin-submit.gif" alt="A screenshot of the full submit dialog from the Perforce MSVC plug-in" width="456" height="670" />
</div>
<h2><a name="section-9" id="section-9">9. Linking already-completed work to an issue</a></h2>
<p> You can use Perforce to link a change that you've already made with a issue you've been assigned. For example, suppose you realize that a change you made yesterday also resolves some issues you've been assigned to work on today. You can record this information in the defect tracking system and get rid of those issues. </p>
<p> <strong>Note</strong>: The defect tracker's workflow might prevent you from linking to an issue that you don't own. If you try, the <abbr>P4DTI</abbr> removes your link and sends you e-mail. </p>
<p> Perforce 2000.2 does not provide a way of linking submitted changelists with jobs from the Web GUI (P4Web) or any of the development environment plug-ins. </p>
<h3><a id="section-9.1" name="section-9.1">9.1. In the Perforce Windows GUI</a></h3>
<p> To link already-completed work to an issue, follow these steps: </p>
<ol>
<li> Choose <span id="gui">Changelist > View Submitted Changelists</span> to view the Submitted Perforce Changelists pane. (See <a href="#figure-7">Figure 7</a> for an example.) </li>
<li> Select the changelist that you want to link. </li>
<li> Choose <span class="gui">Changelist > Add Job Fix</span>. </li>
<li> Select the set of jobs you want to link with the changelist in the dialog box that opens. (See <a href="#figure-8">Figure 8</a> for an example.) </li>
<li> Click <span class="gui">OK</span>. </li>
</ol>
<div align="center">
<p> <a id="figure-7" name="figure-7">Figure 7. Viewing the submitted changelists</a> </p>
<img src="p4win-submitted-changelists.gif" alt="A screenshot of the submitted changelists pane in the Perforce Windows GUI" width="707" height="464" />
</div>
<div align="center">
<p> <a id="figure-8" name="figure-8">Figure 8. Adding a job fix</a> </p>
<img src="p4win-add-job-fix.gif" alt="A screenshot of the Add Job Fix dialog in the Perforce Windows GUI" width="544" height="323" />
</div>
<h3><a id="section-9.2" name="section-9.2">9.2. From the Perforce command line</a></h3>
<p> To link already-completed work to an issue from the Perforce command line, enter a <code class="command">p4 fix</code> command. For example, the following command links changelist 4096 with issues ENH00023 and BUG001239 and changes their status to "resolved": </p>
<blockquote> <code class="command">p4 fix -s resolved -c 4096 ENH00023 BUG001239</code> </blockquote>
<p> If you don't specify a "-s" option, the issue status is changed to "closed". </p>
<h2><a name="section-10" id="section-10">10. Finding the changes linked to an issue</a></h2>
<p> You can use Perforce or the defect tracker to see the changes resulting from an issue, as described in the following subsections. This procedure is useful if you need to: </p>
<ul>
<li> find out what was done about a bug </li>
<li> verify that an issue has been dealt with correctly </li>
<li> check that all the changes linked with the issue are properly justified </li>
<li> see what areas of the code have changed so that you can direct testing at those areas </li>
</ul>
<p>Perforce 2000.2 does not provide a way of finding the changes resulting from an issue from the Windows GUI, the Web GUI (P4Web), or any of the development environment plug-ins.</p>
<h3><a id="section-10.1" name="section-10.1">10.1. In the Perforce Windows GUI</a></h3>
<p> To find the changes linked to an issue, follow these steps: </p>
<ol>
<li> Select the Perforce Jobs pane by choosing <span class="gui">Job > View Jobs</span>. (See <a href="#figure-1">Figure 1</a> for an example.) </li>
<li> Select the job you want to know about. </li>
<li> Choose <span class="gui">Job > Describe <i>jobname</i></span>. </li>
<li> Click the <span class="gui">Show Fixes</span> button. (If there are changelists linked with the job, then this button appears at the bottom of the job description window.) </li>
<li> Scroll down to the bottom of the job to see the linked changes under the "Fixes" heading, as shown in <a href="#figure-9">Figure 9</a>. </li>
<li> Right-click on the changelist number and choose <span class="gui">Describe Changelist</span> to get a full description of a change. </li>
</ol>
<div align="center">
<p> <a id="figure-9" name="figure-9">Figure 9</a>. Finding linked changes from the Perforce Windows GUI </p>
<img src="p4win-show-fixes.gif" alt="Screenshot showing the job description window with the Fixes visible" width="717" height="449" />
</div>
<h3><a id="section-10.2" name="section-10.2">10.2. From the Perforce command line</a></h3>
<p> To find the changes linked with an issue, enter a <code class="command">p4 fixes</code> command. For example, the following command lists the changes resulting from issue ENH00034: </p>
<blockquote> <code class="command">p4 fixes -j ENH00034</code> </blockquote>
<p> For details, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<h3><a id="section-10.3" name="section-10.3">10.3. Using the defect tracker</a></h3>
<div class="teamtrack">
<p>In TeamTrack, look in the Version Control section of the case form to find the changes linked with an issue (see <a href="#figure-10">Figure 10</a>). If you don't see the Version Control section, follow these steps to display it:</p>
<ol>
<li> Click the <span class="gui">User</span> button. </li>
<li> Check the <span class="gui">Version Control</span> check box under the <span class="gui">Other Display Options</span> heading.</li>
<li>Click the <span class="gui">Save Profile</span> button.</li>
</ol>
<div align="center">
<p> <a id="figure-10" name="figure-10">Figure 10</a>. The changes linked with a TeamTrack case </p>
<img src="tt-version-control.gif" alt="A screenshot of the Version Control section of a case in the TeamTrack GUI" width="933" height="540" />
</div>
</div>
<h2><a name="section-11" id="section-11">11. Finding the issues linked with a change</a></h2>
<p> You can use Perforce to see the issues linked with a changelist. </p>
<p>Perforce 2000.2 does not provide a way of finding the issues linked with a changelist from the Web GUI (P4Web) or any of the development environment plug-ins.</p>
<h3><a id="section-11.1" name="section-11.1">11.1. In the Perforce Windows GUI</a></h3>
<p> To find the issues linked with a change, follow these steps: </p>
<ol>
<li>Select the changelist you're interested in.</li>
<li>Choose <span class="gui">Changelist > Describe Changelist <i>number</i></span>.</li>
<li>Look under the Jobs Fixed heading to see the issues linked with this changelist. (See <a href="#figure-11">Figure 11</a> for an example.)</li>
</ol>
<div align="center">
<p> <a id="figure-11" name="figure-11">Figure 11</a>. Finding linked issues from the Perforce Windows GUI </p>
<img src="p4win-describe-changelist.gif" alt="A screenshot of the changelist description dialog in the Perforce Windows GUI" width="455" height="397" />
</div>
<h3><a id="section-11.2" name="section-11.2">11.2. From the Perforce command line</a></h3>
<p> To find the issues linked with a change, enter a <code class="command">p4 fixes</code> command. For example, the following command finds the issues linked with changelist 4339: </p>
<blockquote> <code class="command">p4 fixes -c 4339</code> </blockquote>
<p> For details, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>.</p>
<h2><a name="section-12" id="section-12">12. Finding the files affected by an issue</a></h2>
<p> You can use Perforce to find out which files were changed in order to fix an issue. To do this, you first need to find out the changelists linked with the issue, as described in <a href="#section-11">Section 11, "Finding the issues linked with a change"</a>. </p>
<p> Perforce 2000.2 does not provide a way of finding files that were checked in for an issue from the Web GUI (P4Web), or any of the development environment plug-ins. </p>
<h3><a id="section-12.1" name="section-12.1">12.1. In the Perforce Windows GUI</a></h3>
<p> To find the files affected by an issue, follow these steps: </p>
<ol>
<li> Find out the changelists linked with the issue, as described in <a href="#section-11">Section 11, "Finding the issues linked with a change"</a>. </li>
<li> Choose <span id="gui">Changelist > View Submitted Changelists</span> to view the Submitted Perforce Changelists pane. (See <a href="#figure-7">Figure 7</a> for an example.) </li>
<li> Select the changelist you're interested in. </li>
<li> Choose <span class="gui">Changelist > Describe Changelist <i>number</i></span>. </li>
<li> Look under the "Affected files" heading to see the list of affected files (see <a href="#figure-11">Figure 11</a>). </li>
</ol>
<h3><a id="section-12.2" name="section-12.2">12.2. From the Perforce command line</a></h3>
<p> To find the files affected by an issue, follow these steps: </p>
<ol>
<li> Find out the changelists linked with the issue, as described in <a href="#section-11">Section 11, "Finding the issues linked with a change"</a>. </li>
<li> <p> Enter a <code class="command">p4 describe</code> command at the Perforce command line. For example, the following command outputs a list of the files that were checked in to fix the issue and the diffs for those files: </p>
<blockquote>
<code class="command">p4 describe 4339</code>
</blockquote>
<p> For more information, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p> </li>
</ol>
<h2><a name="section-13" id="section-13">13. Finding out how files have been affected by issues</a></h2>
<p> You can use the Perforce command line to find the issues linked with particular files. This procedure is very useful for finding out which issues have affected files in the past. </p>
<p>To find out how a file has been affected by an issue, enter a <code class="command">p4 fixes</code> or a <code class="command">p4 jobs</code> command at the Perforce command line. For example, the following command lists the links and changelists for the files with a ".c" extension in the "/depot/foo/bar" directory: </p>
<blockquote>
<code class="command">p4 fixes //depot/foo/bar/*.c</code>
</blockquote>
<p> The following command lists all the issues that have been linked to all the files with a ".c" extension in the "/depot/foo/bar" directory: </p>
<blockquote>
<code class="command">p4 jobs //depot/foo/bar/*.c</code>
</blockquote>
<p> For more information, see the <cite><a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">Perforce Command Line User's Guide</a></cite>. </p>
<p> Perforce 2000.2 does not provide a way of finding issues linked with files from the Windows GUI, the Web GUI (P4Web), or any of the development environment plug-ins. </p>
<h2><a name="section-14" id="section-14">14. Finding the issues you're working on</a></h2>
<p> If you've been linking your work with issues as described in <a href="#section-6">Section 6</a>, you can find out which issues you're working on. This procedure is useful when, for example, you are resuming work on a project after a few days away and can't quite remember which issues you were last working on. </p>
<p> To find who's working on an issue, or issues you were working on in a different workspace, see <a href="#section-15">Section 15, "Finding out where an issue is being worked on and by whom"</a>.) </p>
<p> Perforce 2000.2 does not provide a way of finding issues being worked on in a particular workspace from the Web GUI (P4Web) or any of the development environment plug-ins. </p>
<h3><a id="section-14.1" name="section-14.1">14.1. In the Perforce Windows GUI</a></h3>
<p> To find the issues you're working on, follow these steps: </p>
<ol>
<li> Select the Pending Perforce Changelists pane by choosing <span class="gui">Changelist > View Pending Changelists</span>. </li>
<li> Click on the plus (+) symbol to expand the list of pending changelists for your client. </li>
<li> Expand the pending changelists by clicking on their plus symbols. The jobs you were working on show up with an icon of a wrench in the list of edits. </li>
</ol>
<h3><a id="section-14.2" name="section-14.2">14.2. From the Perforce command line</a></h3>
<p> To find out what you were working on, use a combination of the <code class="command">p4 changes</code> and <code class="command">p4 fixes</code> commands. For example, the following command finds your pending changelists: </p>
<blockquote>
<code class="command">p4 changes -s pending | grep <i>username</i></code>
</blockquote>
<p> The following command then shows the issues you were working on in that changelist: </p>
<blockquote>
<code class="command">p4 fixes -c <i>changelist</i></code>
</blockquote>
<h2><a name="section-15" id="section-15">15. Finding out where an issue is being worked on and by whom</a></h2>
<p> If other people at your organization are linking their work with issues as described in <a href="#section-6">Section 6</a>, you can find out who's working on an issue and in which workspace. This procedure is useful when you know that someone is working on an issue but you don't know who or where their work is--they might be on vacation, or have left the company, or perhaps it's you and you've just forgotten all about it. </p>
<p> To find out which issues you were working on in a particular workspace, see <a href="#section-15">Section 14, "Finding the issues you're working on"</a>. </p>
<p>Perforce 2000.2 does not provide a way of finding the workspace in which a issue is being worked on from the Web GUI (P4Web) or any of the development environment plug-ins.</p>
<h3><a id="section-15.1" name="section-15.1">15.1. In the Perforce Windows GUI</a></h3>
<p> To find out where an issue is being worked on, follow these steps: </p>
<ol>
<li> Select the Perforce Jobs pane by choosing <span class="gui">Job > View Jobs</span>. (See <a href="#figure-1">Figure 1</a> for an example.) </li>
<li> Select the job you want to know about. </li>
<li> Choose <span class="gui">Job > Describe <i>jobname</i></span>. </li>
<li> Click the <span class="gui">Show Fixes</span> button. (If there are changelists linked with the job, then this button appears at the bottom of the job description window.) </li>
<li> Scroll down to the bottom of the job to see the linked changes under the Fixes heading, as shown in <a href="#figure-9">Figure 9</a>. You can't tell the difference between pending and submitted changelists in the Fixes list, so you need to compare the linked changes in this job with the changelists in the Pending Perforce Changelists pane. </li>
<li> Select the Pending Perforce Changelists pane by choosing <span class="gui">Changelist > View Pending Changelists</span>. </li>
<li> Look at the "Pending Changelists (other clients)" list to see if any of the linked changes from the Fixes list appear here. If so, the change tells you the user and client (workspace). </li>
</ol>
<h3><a id="section-15.2" name="section-15.2">15.2. From the Perforce command line</a></h3>
<p> To find out where an issue is being worked on, use a combination of the <code class="command">p4 fixes</code> and <code class="command">p4 changes</code> commands. For example, the following commands list the changelists that are linked to BUG0743 and the list of pending changelists: </p>
<blockquote>
<code class="command">p4 fixes -j BUG0743</code> <br />
<code class="command">p4 changes -s pending</code>
</blockquote>
<p> Any changelists that appear in both lists are work in progress, and this tells you the user and client (workspace) where the work is happening. </p>
<h2><a name="section-A" id="section-A">A. References</a></h2>
<table>
<tr valign="top">
<td>[<a name="ref-GDR-2000-05-03" id="ref-GDR-2000-05-03" href="/project/p4dti/doc/2000-05-03/reqs-and-use-cases/">GDR 2000-05-03</a>]</td>
<td>
"Requirements and Use Cases for Perforce/Defect Tracking Integration";
<a href="mailto:gdr@ravenbrook.com">Gareth Rees</a>;
<a href="http://www.ravenbrook.com/">Ravenbrook Limited</a>;
2000-05-03.
</td>
</tr>
<tr valign="top">
<td>[<a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/" id="ref-Perforce-2000-12-22a" name="ref-Perforce-2000-12-22a">Perforce 2000-12-22a</a>]</td>
<td>
"Perforce 2000.2 P4 Command Line User's Guide";
<a href="http://www.perforce.com/">Perforce Software</a>;
2000-12-22;
<<a href="http://www.perforce.com/perforce/doc.002/manuals/p4guide/">http://www.perforce.com/ perforce/doc.002/ manuals/p4guide/</a>>, <<a href="ftp://ftp.perforce.com/pub/perforce/r00.2/doc/manuals/p4guide/p4guide.pdf">ftp://ftp.perforce.com/ /pub/perforce/r00.2/doc/ manuals/p4guide/p4guide.pdf</a>>.
</td>
</tr>
<tr valign="top">
<td>[<a href="http://www.perforce.com/perforce/doc.002/manuals/p4sag/" id="ref-Perforce-2000-12-22b" name="ref-Perforce-2000-12-22b">Perforce 2000-12-22b</a>]</td>
<td>
"Perforce 2000.2 System Administrator's Guide";
<a href="http://www.perforce.com/">Perforce Software</a>;
2000-12-22;
<<a href="http://www.perforce.com/perforce/doc.002/manuals/p4sag/">http://www.perforce.com/ perforce/doc.002/ manuals/p4sag/</a>>, <<a href="ftp://ftp.perforce.com/pub/perforce/r00.2/doc/manuals/p4sag/p4sag.pdf">ftp://ftp.perforce.com/ /pub/perforce/ r00.2/doc/ manuals/p4sag/p4sag.pdf</a>>.
</td>
</tr>
</table>
<h2><a name="section-B" id="section-B">B. Document History</a></h2>
<table>
<tr valign="top">
<td>2000-08-10</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Created placeholder.</td>
</tr>
<tr valign="top">
<td>2000-10-15</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td>Added section titles; copied in some use cases as comments.</td>
</tr>
<tr valign="top">
<td>2000-11-10</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Added scads of text with rough documentation of many of the use cases so that <a href="mailto:lmb@ravenbrook.com">LMB</a> can work on real documentation.</td>
</tr>
<tr valign="top">
<td>2000-11-26</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td>Fixed Sections 4.5 and 4.6. Started writing Section 4.15. Started writing
Section 2.</td>
</tr>
<tr valign="top">
<td>2000-11-26</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Changed "document" to "file" throughout.</td>
</tr>
<tr valign="top">
<td>2000-11-30</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Updated references to Perforce 2000.1 to 2000.2, now that the AG says to use 2000.2</td>
</tr>
<tr valign="top">
<td>2000-12-04</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td> Added screenshots and text figures at various places suggested by LMB. </td>
</tr>
<tr valign="top">
<td>2000-12-05</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td> Added brief instructions for using the new <span class="gui">Show Fixes</span> button in the Perforce Windows GUI. </td>
</tr>
<tr valign="top">
<td>2000-12-06</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td> Corrected the instructions for "p4 submit" to "p4 submit -s" and removed unnecessary figures for the previously different "p4 change -s". </td>
</tr>
<tr valign="top">
<td>2000-12-06</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Added overview sections.</td>
</tr>
<tr valign="top">
<td>2000-12-06</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td>Complete re-organization of the manual into more logical steps.</td>
</tr>
<tr valign="top">
<td>2000-12-07</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td> Added table of contents. Renumbered figures. </td>
</tr>
<tr valign="top">
<td>2000-12-07</td>
<td><a href="mailto:rb@ravenbrook.com">RB</a></td>
<td> Removed note about the "ignore" bug in "p4 submit -s" and "p4 change -s" as it's now fixed in the Perforce server level we require. </td>
</tr>
<tr valign="top">
<td>2001-01-02</td>
<td><a href="mailto:gdr@ravenbrook.com">GDR</a></td>
<td>Section 5.1 suggests jobviews that will work in both the TeamTrack and Bugzilla integrations. Made reference style consistent with AG. Added section 2.5 asking readers to upgrade to 2000.2.</td>
</tr>
<tr valign="top">
<td>2001-01-05</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td> Made lots of copyedits. Removed ellipses, since they don't conform to Perforce style. Added glossary entries. </td>
</tr>
<tr valign="top">
<td>2001-01-07</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td> Finished improving as per my intuition. Incorporated some comments from TC@perforce (most weren't applicable to the UG). Finished the glossary. </td>
</tr>
<tr valign="top">
<td>2001-01-08</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td> Deleted comments, title material, and Sections A and B in preparation for handoff to Perforce. </td>
</tr>
<tr valign="top">
<td>2001-01-21</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td> At GDR's request, replaced title material and Sections A and B. </td>
</tr>
<tr valign="top">
<td>2001-01-22</td>
<td><a href="mailto:lmb@ravenbrook.com">LMB</a></td>
<td> As per TC@perforce's request: started every numbered step with a concrete verb; commented out Section 2.1 and Figures 3 and 4; renumbered figures; renamed Section 2.3; added necessary verbiage to all procedure lead-ins. Re-read TC@perforce's requests more carefully; put Section 2.1 back, moved Section 3 to Section 2.2, and renumbered all headings. At Richard's request, re-added Figure 4 and renumbered figures. </td>
</tr>
<tr valign="top">
<td> 2001-02-01 </td>
<td> <a href="mailto:rb@ravenbrook.com">RB</a> </td>
<td> Rewrote introduction to section 2 to provide description of the requirements the software meets without sounding like "marketing". Updated references to Perforce manuals to version 2000.2. </td>
</tr>
<tr valign="top">
<td> 2001-03-02 </td>
<td> <a href="mailto:rb@ravenbrook.com">RB</a> </td>
<td> Transferred copyright to Perforce under their license. </td>
</tr>
</table>
<h2><a name="section-Glossary" id="section-Glossary">Glossary</a></h2>
<table cellpadding="6">
<tr valign="top">
<td><a name="term-changelist" id="term-changelist" href="#term-changelist">changelist</a></td>
<td></td>
<td> An atomic change transaction in Perforce. </td>
</tr>
<tr valign="top">
<td><a name="term-DT" id="term-DT" href="#term-DT"><abbr>DT</abbr></a></td>
<td>Defect Tracker, Defect Tracking System</td>
<td>Examples are TeamShare's TeamTrack, Soffront TRACK Defects, Bugzilla</td>
</tr>
<tr valign="top">
<td><a name="term-fix" id="term-fix" href="#term-fix">fix</a></td>
<td></td>
<td> A job that has been linked to a changelist. </td>
</tr>
<tr valign="top">
<td><a name="term-issue" id="term-issue" href="#term-issue">issue</a></td>
<td></td>
<td> A user-defined unit of work tracked by the defect tracker. </td>
</tr>
<tr valign="top">
<td><a name="term-job" id="term-job" href="#term-job">job</a></td>
<td></td>
<td> A user-defined unit of work tracked by Perforce. </td>
</tr>
<tr valign="top">
<td><a name="term-jobview" id="term-jobview" href="#term-jobview">jobview</a></td>
<td></td>
<td> A string used to find jobs that match particular criteria.
</td>
</tr>
<tr valign="top">
<td><a name="term-pending-changelist" id="term-pending-changelist" href="#term-pending-changelist">pending changelist</a></td>
<td></td>
<td> A changelist that has not been submitted. </td>
</tr>
<tr valign="top">
<td><a name="term-P4" id="term-P4" href="#term-P4"><abbr>P4</abbr></a></td>
<td>The Perforce SCM Software</td>
<td><a href="http://www.perforce.com/">Perforce Software's</a> fast configuration management system software. We do not use the term P4 to refer to Perforce Software, the company.</td>
</tr>
<tr valign="top">
<td><a name="term-P4DTI" id="term-P4DTI" href="#term-P4DTI"><abbr>P4DTI</abbr></a></td>
<td>Perforce Defect Tracking Integration</td>
<td>The software that integrates Perforce Software's fast configuration management system (P4) to defect tracking systems.</td>
</tr>
<tr valign="top">
<td><a name="term-replication" id="term-replication" href="#term-replication">replication</a></td>
<td></td>
<td> The operation of copying data between a defect tracker and a Perforce server in order to keep each one up to date with changes made in the other. Replication allows developers to do their routine defect resolution work entirely from their Perforce client, without needing to use the defect tracker's interface. It also allows developers to relate their changes to defect tracking issues. </td>
</tr>
<tr valign="top">
<td><a name="term-replicator" id="term-replicator" href="#term-replicator">replicator</a></td>
<td></td>
<td> A process that copies (replicates) data between a defect tracker and a Perforce server in order to keep each one up to date with changes made in the other. </td>
</tr>
<tr valign="top">
<td><a name="term-workflow" id="term-workflow" href="#term-workflow">workflow</a></td>
<td></td>
<td> A set of rules that control who can do what to which issues. </td>
</tr>
</table>
<hr />
<p> <small>This document is copyright © 2001 Perforce Software, Inc. All rights reserved.</small> </p>
<p> <small>Redistribution and use of this document in any form, with or without modification, is permitted provided that redistributions of this document retain the above copyright notice, this condition and the following disclaimer.</small> </p>
<p> <small> <strong> This document is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holders and contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this document, even if advised of the possibility of such damage. </strong> </small> </p>
</body>
</html>