Editing the Perforce Job Specification
To integrate defect trackers with Perforce, you must add some 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.)
To add the required fields:
- At the command line, issue the p4 jobspec command. Perforce launches a
text editor displaying the job specification.
- Add the following fields (nnn indicates field numbers, which depend
on whats already defined in your job specification.)
- nnn DTG_FIXES text 0 optional
- nnn DTG_DTISSUE word 32 optional
- nnn DTG_ERROR text 0 optional
- If you intend to define segments, add the following field: nnn DTG_MAPID word 32 optional
- 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:
- nnn ModDate date 20 always
- nnn ModBy word 32 always
- Define the default value for the preceding fields as follows:
- Exit the editor, saving your changes.
About
Contents
jobspec.html