Editing the Perforce Job Specification

To integrate defect trackers with Perforce, you must add four required fields to the Perforce job specification. To edit the Perforce job specification, you must have Perforce admin privilege. For details, refer to the description of the p4 jobspec command in the Perforce Command Reference.)

Additional fields may also need to be added should you want to replicate additional defect tracking fields.

To add the required fields:

  1. At the command line, issue the p4 jobspec command. Perforce launches a text editor displaying the job specification.
  2. Add the following fields (nnn indicates field numbers, which depend on what’s already defined in your job specification.)
  3. If not already defined, add a date field that stores the date when the job was last modified and a word field that contains the name of the user who last modified the job. For example:
  4. Define the default value for the preceding fields as follows:
  5. Exit the editor, saving your changes.

An example minimum jobspec is described in P4DTG Minimum Jobspec


Contents
jobspec.html