2.2 Integration with Bugzilla and Fogbugz

qTest supports Integration with OnDemand/Local Bugzilla (version 4.0+) and OnDemand/Local Fogbugz (version 8.1.1+) for Defect submission.

Important_icon.pngImportant:

If the Defect Trackers you are using are deployed on the Local Server and behind firewall protections to secure sensitive project data as well as prevent unauthorized accessess from Internet, you need to check following Configurations to ensure a successful connection with qTest for Defect Integration:

  1. Make sure your Defect Tracker Local Server's IP address is configured to be a public IP address, so that your Defect Tracker's instance is accessible from the public internet.
  2. Configure your firewall's settings to accept accesses/requests from the following four specific Amazon servers ' elastic IP addresses:
    • 54.83.56.253
    • 54.83.57.47
    • 54.83.57.78
    • 54.83.57.122
    • 54.83.57.143
    • 54.83.57.153

Set up Connection

The is one way to create Connection with either Bugzilla OnDemand or Local:

  1. Go to qTest instance and access Integration Settings under Project Settings

    Access_to_Project_Settings.png

  2. Select Bugzilla 4.0+ from the External Systems list
  3. Click Add Connection button to define a connection with Bugzilla

  4. Enter Connection Name, Server URL and Account Credentials
  5. Click Test Connection.
  6. Click Save & Configure button to finish adding Connection and start Integration Configuration

    Add_Bugzilla_Connection_2.png

  7. Turn on the Activation Status and check Active one of Connection in the list.
    Button-Info-icon.pngYou can Save & Activate connection after the Integration Configuration
  8. The Integration with Bugzilla will be set as "In Use" upon successful Activation

    Bugzilla_On_Status.png

button-round-warning-icon.pngHINT:

  • You can add many Connections to Bugzilla with duplicate Accounts and URLs, but only 1 Connection can be activated at a time
  • It is strongly recommended to use the Admin Account to have full permissions to access configured projects for Defect Integration.
  • If a user is submitting Defect internally while another Admin user is switching to Integration with External Defect Trackers, the data entered in qTest Defect is still submitted successfully, but user cannot view that internal Defect because the Defect menu is disabled in qTest. Until their the Integration with External Defect Tracker is deactivated, user can view that submitted qTest Defect.

Configure Defect Integration

For each Connection with Bugzilla added, you need a separate Defect Integration Configuration.

  1. Click Configure icon on the Connection to go to the Configure Connection.
    Button-Info-icon.pngAlternatively, click Save & Configure button on the Add Connection pop-up to.
  2. qTest automatically populates all available Projects from Bugzilla. In the pop-up Projects list, select one, multiple or all projects to populate these selected Projects' fields to configure.

    Populate_Tracker_s_Projects.png

  3. Alternatively, click Populate All Fields  button to re-load all available data from configured Bugzilla Connection, including Projects, corresponding Defect Types, Defect Fields, and fields' values in Projects
  4. Select Project and Defect Type you want to integrate with. The selected types will be treated as Defects in qTest.
    Button-Info-icon.pngYou have to configure Defect's fields for each populated Project separately.
  5. Click Re-sync Fields button to populate all fields and values of selected Project and Defect Types.
  6. Click Add Field button to create compulsive fields that cannot be populated from Bugzilla onto qTest
    • Enter the field name of Bugzilla you need to add
    • Click Populate button to load all available values of that field in Bugzilla
    • Check "Required" according to the Bugzilla Field Settings
    • Click Add to create values that cannot be populated from that field in Bugzilla.
      Button-Info-icon.pngIf you add more field's values, they will NOT be updated back to your Bugzilla.
    • Set default value for the field
    • Click OK to finish adding field

    Bugzilla_Config_1.png

  7. A list of Defect's fields displays for configuration. You can:
    • Reorder fields' display on the Defect Submission form using Drag & Drop or Move Up and Down arrow. This order does not affect display of that Defect type in Bugzilla.
    • Click Re-populate icon on each Defect field to load its latest values.
    • Click on hyperlinks of Defect Field names to Edit existing Defect Fields
    • Click Delete icon to remove display of specific fields from qTest defect submission form. Those deleted fields are still on Bugzilla defect form

  8. Set Auto-Filling for Defect's fields as Text-box type.
    • Click a Name Link of defect's text-box field to set Auto-Fill
    • In the Edit Field box, click Add button to create auto-fill value
    • Click the drop-down arrow and select a field of qTest's Test Case or Test Run to be auto-filled in the Defect field.
    • Click OK button to finish creating Auto-filling

                       

button-round-warning-icon.pngHINT:

  • qTest only supports certain field types. Unsupported field types in external system will not be populate due to this limitation.
  • If you choose to auto fill your field using many values at once, each value will be separated by a line in the output text box.
  • There are some fields from Bugzilla that cannot be populated onto qTest for Integration Configuration

Submit Defects

For Integration with external Defect Tracking Systems, the only way to submit defects is through Test Execution. You can submit defects during Test Execution or from Test Log. Refer to Executing Test Run.

  1. Click Bug icon linked to Test Steps or Submit Defect linked to a Test Run in Test Pad
  2. Click New button to create a new Defect
  3. Select one of mapped Project and Defect types from the drop-down list
  4. Click OK button and fill out the Defect Submission form
  5. Click Save & Close button to finish submitting a new Defect and close the Defect Submission form.
  6. Click Save & New button to finish submitting one Defect and still open the Defect Submission form to create more Defects linked to the same Test Step or Test Run
  7. qTest will return the Defect ID with Summary and latest Status of Defect from Bugzilla attached to the Bug icon

Delete Connection

You can delete any Connection that you no longer need

  1. Deactive the connection you want to delete.
  2. In the Action column of Connection List, click Delete icon on a Connection you want to remove from the Configure Integration screen
  3. Click Yes to confirm the connection deletion
  4. Click Save in the Configure Integration screen to submit the deletion.

button-round-warning-icon.pngHINT:

  • If there is only 1 connection that you want to delete, you need to turn off the Activation Status to change that connection to deactive
  • All configured defect integration of the deleted connection will be removed along