Follow these steps to configure your PractiTest JIRA integration.

PractiTest has two types of issue integration with JIRA:

  • 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 JIRA, with all the data (steps and actual results) already pre-entered inside JIRA.
  • Two-Way integration with Jira Cloud and Jira Server & Data Center – works like the one-way integration but in addition, displays in PractiTest the bug’s subject, status, and description as it appears in JIRA, and also allow JIRA to update PractiTest (via a dedicated plugin) whenever the subject, status or description are modified.

This document describes how the one-way integration works and how to set it up.

 

Table of Contents

One-way integration – how it works
Configuration
Configuring PractiTest for one-way integration with JIRA
Ready to roll: Running tests in PractiTest, seeing issues in JIRA
Steps to follow for one-way integration
Multi projects and Multi types

 

One-way integration – how it works


Once the systems are (easily) configured and integrated, issues detected during testing in PractiTest automatically open a new issue form in JIRA with all the data (steps and actual results) already pre-entered.
With one-way integration, a link is placed in PractiTest to the issue in JIRA.

Configuration

Configuring PractiTest for one-way integration with JIRA

As mentioned, configuring PractiTest to integrate with JIRA is simple. Follow these instructions:
  1. In PractiTest, go to Settings > Integrations and activate the Issue Integration (click the ‘Activate’ button).
    Activate one-way integration
  2. Once you’ve chosen JIRA One Way, enter the URL Prefix that will be used by PractiTest to connect to your JIRA instance. Make sure this URL has access to create bugs in your Jira project
  3. The URL Prefix should look like this: http://your_server_name/
  4. Each project in JIRA has its own unique ID (usually a number starting from 10,000). You must enter the ID in the “JIRA project id” field for your configuration.
    Please note: JIRA’s project name/project prefix IS NOT its project ID.
    JIRA’s project ID can be found within JIRA in many places when looking at the URL, for example:
    When selecting a project (in JIRA), and clicking on the Reports menu -> “Workload Pie Chart Report” (first item), the url follows this format: http(s)://[JIRA PREFIX]/secure/ConfigureReport!default.jspa?selectedProjectId=10000&reportKey=com.atlassian.jira.ext.charting:workloadpie-report
    So, in this example, the project id you need is 10000.
  5. Put the issue type in # format. You can find the issue type number by going to your JIRA, Issues, pressing the ‘edit’ icon near relevant issue type, and seeing its number after .jspa?id= in the URL.
  6. Click the “Create Issue Integration” button to activate the integration.
jira_configuration

 

Ready to roll: Running tests in PractiTest, seeing issues in JIRA

Steps to follow for one-way integration:

  1. Run your tests normally.
    When you encounter an issue click the Fail & Issue icon (or prior to that, save the “Step’s Actual Results”).support_seeing_issues_in_JIRA
  2. A new browser tab or window (based on the configuration of your browser) will launch, opening your JIRA new issue page. You will see all the test data already pre-entered, including the summary and description pre-filled with steps you’ve executed, and the failed “Step’s Actual Results” (if this information was already entered in PractiTest). You may add more details to the issue. Then Save.
  3. After reporting the issue take note of the new JIRA ID and go back to PractiTest, where you should enter this ID in the Issue ID field and click the Link to Step button. You can enter multiple issues at once by separating them using commas or spaces.
  4. The JIRA Issue will be linked to the test step, and clicking the issue ID will open it in a new window in your JIRA Instance.

 

 

Multi projects and Multi types

For One-Way Integration

Set different project and different issue types to open directly in JIRA.

This is the configuration –

jira_configuration_multi_project

 

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

jira_multi_project

Learn more about JIRA Integration >>