Overview
This article describes how to enable bug tracking in SourceGear Vault in FogBugz.
Requirements
Vault <> FogBugz integration is only supported by Vault Standard, not Vault Professional.
Step By Step Guide
Integration
To enable bug tracking in SourceGear Vault, you must have Vault admin privileges and access to the Vault Admin Tool.
In Vault
- Log in to the Vault Admin Tool.
- Click on the Admin tab
- Expand Source Control Repositories on the left side.
- Click on the repository you are setting up.
- Set the Bug Tracking Application drop-down menu to FogBugz.
- In the Bug Tracking Integration URL box, type in the URL of your FogBugz site, something like: http://www.example.com/FogBugz
- Generate new API Token from user profile (User Options -> Create API Token)
- Open the Vault Admin page. Go to Source Control Repositories -> {Repository}, here in text field Fog Bugz Trial ID, provide “0&token={TOKEN}”, where {TOKEN} is the token you have generated in the previous step. This way you ensure the authentication token is sent to FogBugz during each API call:
In FogBugz
- Navigate to Admin > Source Control.
- Click Create New Repository.
- Select Vault.
- Click ok.
FogBugz will tell you that the repository is created in FogBugz automatically when you first check in code in Vault and set a case number for it.
When you commit your first check-in, you will now see the repository in the list in Admin -> Source Control. At this point, you can click to edit that repository and set up the diff and log links. These links show up in FogBugz cases as shown here.
Entering Case Numbers
The Vault Check-In/Commit dialog allows you to associate a Vault file with a FogBugz case during the check-in process. Type the case number in the Update Bugs edit box.
Priyanka Bhotika
Comments