Follow these steps to configure Practitest Bugzilla two way integration.

PractiTest has two types of issue integration with Bugzilla:

  1. One-Way integration – standard integration that works like all other PractiTest integrations. Once you click on the Fail & Issue link in a test run, it will open a new bug form in Bugzilla, with all the data (steps and actual results) already pre-entered inside Bugzilla.
  2. Two-Way integration – works like the one-way integration, but in addition, displays in PractiTest the bug’s subject and status as it appears in Bugzilla, and also allows Bugzilla to update PractiTest (via a dedicated plugin) whenever the subject or status are modified.

Updated: PractiTest allows you to set different projects to open directly in Bugzilla – See
Multi project configuration.
This document describes how the two-way integration works and how to set it up.


Configuring and working with the two-way Integration

To configure the two-way integration follow these steps:


1. Adding the designated Bugzilla Extention for PractiTest.

  • Install Bugzilla.
  • Install extra perl modules: REST::Client, JSON, Digest::MD5, Crypt::SSLeay, Data::Dumper (via cpan).
  • Copy this folder to the ‘Extensions‘ directory of Bugzilla.
  • Change the directory’s name to “PractiTest”.
  • In, update the CONFIG_API_TOKEN constant (line 33).
  • Add a custom field in Bugzilla, named cf_pt_id (Type is ‘Free Text‘). If you don’t know how to do this, see the instructions below.
  • Restart Bugzilla.

Note: If you need to disable the extension, an empty file with the name ‘disabled’.

Adding the cf_pt_id custom field to Bugzilla
  • ​To add an integer custom field named “cf_pt_id”.
  • In Bugzilla, go to Administration.
  • Click on the “Custom Fields” link.
  • Create a field named “cf_pt_id” and set the field’s type to “Free Text”.
  • Click on the “Create” button.​creating_a_custom_field_in_bugzilla

2. Configuring PractiTest to integrate with Bugzilla

Configuration in PractiTest is similar to the one-way integration.
  • Go to Project Settings > Integrations, and select Activate.
  • On Issue integration select Bugzilla, enter the URL prefix, and the project prefix.
  • Enter the ID for the cf_pt_id field (which you received after adding the field to Bugzilla.
PractiTest Settings Integrations

That’s it! You and your users are ready to start enjoying the Two-Way Integration.


3. Working with Two-Way Integration

This step is the same for both one-way and two-way integration with Bugzilla.
To work with the integration, start by running the test from PractiTest’s Test-Sets and Runs.

  • Go to a TestSet
  • Choose the test you want to run and click the “Run” link
  • When a step fails, update the actual results
  • Click on the “Fail and Issue” link. PractiTest will open Bugzilla’s New Issue form with all the data pre-entered.
  • Fill out the relevant information for your bug report.
  • Save the Issue. The plugin will do the rest in order to keep the bug and test synchronized.



Using the 2-way integration, you can then edit the issue in either platform, and your changes will be saved in both Bugzilla and PractiTest.


Multi projects configuration

Set different projects to open directly in Bugzilla


Once you run the test, when you put your mouse over ‘Fail and Issue‘ you can select which project (based on your previous configuration) you’ll open in Bugzilla.




If you have any questions, please don’t hesitate to contact us