0

How can we enter case numbers using Perforce?

flag

1 Answer

0

How you enter the case depends on how you've set up your Perforce - FogBugz integration.

Using Perforce Trigger Script

When you commit a change using Perforce, include a single line of the form BugzID: case number in the change specification after the other comments. For example:

alt text

Using Perforce DTG integration

To submit changes to a FogBugz case, simply apply a job fix to the changelist for the corresponding job.

You can do this from the command line by typing (where job000021 is the job that corresponds to your case)

p4 fix -c 324 job000021

Or from one of Perforce's graphical tools by finding the option to add a job fix to a changelist and simply selecting the job(s) from a list:

alt text

Note that you'll probably want to Filter the results to find the case that you want. Here are some useful filters for finding your cases:

  • Search for all cases with the word "Perforce" in them by filtering on: Perforce
  • Search for all cases assigned to you by filtering on: FB_Assigned_To=[Your Name]
  • Search for all active (not resolved or closed) cases assigned to you by filtering on: FB_Status=Active FB_Assigned_To=[Your Name]
  • Search for all active cases assigned to you with the word "Perforce" in them by filtering on: FB_Status=Active FB_Assigned_To=[Your Name] Perforce

You can use these filters from the command line or from the graphical tools.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.