Skip to content

Configure Xsquash in Jira

Xsquash and Xsquash Cloud enhance the integration between Squash TM and Jira Data Center, and Cloud. They retrieve the test cases and executions associated with requirements synchronized with Xsquash4Jira in Squash TM, to display them directly in Jira requests.

Focus

It is imperative to use the Xsquash4Jira plugin in Squash TM to be able to use Xsquash or Xsquash Cloud on the Jira side.
To learn more about using the Xsquash4Jira plugin, visit the page Configure Xsquash4Jira in Squash TM.
An administrator must have configured the public URL of Squash.

Learn more

The page Follow testing activity in Jira describes how test cases and executions are displayed in Jira.

Configure Xsquash on Jira Data Center

Xsquash is an additional component for Jira Data Center available on the Atlassian Marketplace.

The Xsquash plugin requires:

  • Jira Data Center version 8.X+;
  • Squash TM with the Squash TM Rest API and the Xsquash4Jira plugins.

Install Xsquash

To install Xsquash on Jira Data Center:

  1. Log onto Jira as an administrator;
  2. Go to the Jira administration and choose the option "Manage apps". The Jira Atlassian Marketplace appears;
  3. Search for "Xsquash" on the Marketplace;
  4. Click on the [Install] button to download and install the plugin.

Info

By default, the last version of Xsquash compatible with the Jira version will be installed.

To install a previous version of the Xsquash plugin on Jira:

  1. Visit the Xsquash page Version history on the marketplace;
  2. Download the version you want on your computer;
  3. Log onto the Jira instance as an administrator;
  4. Manually import the plugin by using the "Import app" feature on the "Manage apps" page.

Declare a Server in Xsquash

You can configure the Xsquash plugin from the Jira administration, in the "Manage apps" part. In the menu on the left of your screen, search for "Xsquash", then click on "Configuration". Xsquash enables you to configure multiple Xsquash4Jira servers from different Squash TM instances:

Xsquash Servers

To add a new server, click on the [Add] button and fill in the form with the following information:

  • Server name (unrestricted);
  • Squash TM's base URL (stop at /squash);
  • Name of the jira.xsquash server declared in Squash TM corresponding to the Jira instance (case-sensitive);
  • Login and password of a Squash TM account. This account will be used for all the API requests the plugin will send to Squash TM.

Add Server

We recommend that you use a Squash TM administrator account for this configuration because you will have to all the projects on the instance. However, you can still use a guest profile with only reading permissions for projects containing acceptance data (test cases and executions) to synchronize on Jira.

Configure Xsquash for a Project

You must configure the Xsquash plugin independently for each Jira project.

To configure Xsquash for a project, go to "Project parameters", search for "Xsquash" in the vertical menu, then click on "Configure". Activate Xsquash via the radio button, then select the server you want in the list.

Activate Server

By default, the synchronization tabs of the Squash TM acceptance data are named "Squash TM test cases" and "Squash TM executions". The configuration pop-up enables you to rename these tabs that appear in the Jira requests of the project. Once the configuration is done, click on [Save].

Focus

You must have administration rights for the Jira project to be able to activate the Xsquash plugin.

Configure Xsquash Cloud on Jira Cloud

Xsquash Cloud is an application hosted on an internal server of the company Henix.

Warning

Xsquash Cloud is only available for clients with a Squash Premium License.

The Xsquash Cloud application requires:

  • Jira Cloud
  • Squash TM version 2.X+ with the Squash TM Rest API plugin version 2.X+ and the Xsquash4Jira plugin version 2.X+

Install Xsquash Cloud

There are two ways you can install the Xsquash Cloud app on Jira Cloud:

Manually Install Xsquash Cloud

To manually install Xsquash Cloud:

  1. Log onto the Jira Cloud instance as an administrator.
  2. Click on the [Parameters] button, choose "Apps", then the "Manage apps" option.
  3. Click on "Parameters" to open the "Settings" window.
  4. Check the option "Enable development mode", then click on the [Apply] button.
  5. On the "Manage apps" page, click on "App importable" to open the "Upload app" window.
  6. Enter the URL provided by the Squash Support Team, then click on the [Upload] button.
  7. The Xsquash Cloud application appears in the installed applications list.

Install Xsquash Cloud

Install Xsquash Cloud via the API

Before installing the Xsquash Cloud application in Jira Cloud via API, you must have an administrator account with an API token beforehand.

Learn More

To learn how to generate an API token, please visit this page.

Here are the steps to follow to install the Xsquash Cloud app via the API:

  1. Make a GET request with BASIC AUTH at the URL https://<JiraURL>.atlassian.net/rest/plugins/1.0/?os_authType=basic with the following information in the header:

    Accept: application/vnd.atl.plugins.installed+json
    
    and for the authentication, use the administrator's username and their API token.

  2. Retrieve the value of the header upm-token in the response.

  3. Make a POST request with BASIC AUTH at the URL https://<JiraURL>.atlassian.net/rest/plugins/1.0/?token=upm-token with the following information in the header:

    Content-type: application/vnd.atl.plugins.uri+json
    Accept: application/json
    
    the following body with the URL provided by the Squash Support Team:
    {
        "pluginUri": "https://<XsquashCloudURL>.com/atlassian-connect.json",
        "pluginName": "Xsquash Cloud"
    }
    
    and, for the authentication, use the administrator's username and API token.

Declare a Server in Xsquash Cloud

To configure Xsquash Cloud, click on [Parameters] > Apps. In the menu on the left of your screen, search for "XSQUASH", then click on "Configure". Xsquash enables you to configure multiple Xsquash4Jira servers from different Squash TM instances:

Servers list

Info

A check mark at the end of each server row indicates that the communication between the Squash TM server and Jira Cloud is working.
You can download the logs of the Xsquash Cloud plugin from the "Xsquash Logs" option.

Click on the [Add Squash TM server] button to add a new Squash TM server and fill in the form with the following information:

  • Server name (unrestricted);
  • Squash TM's base URL (stop at /squash);
  • Name of the jira.xsquash server declared in Squash TM corresponding to the Jira instance (case-sensitive);
  • Login and password of a Squash TM account. This account will be used for all the API requests the plugin will send to Squash TM.

Add Server

We recommend that you use a Squash TM administrator account for this configuration because you will have to all the projects on the instance. However, you can still use a guest profile with only reading permissions for projects containing acceptance data (test cases and executions) to synchronize on Jira.

Configure Xsquash Cloud for a Project

You have to configure the Xsquash Cloud plugin independently for each project.

To configure Xsquash Cloud for a project, go to "Project parameters", then click on "Configure Xsquash" in the vertical menu. Activate Xsquash via the radio button, then select the server you want in the list.

Activate Server

By default, the synchronization tabs of the Squash TM acceptance data are named "Squash TM test cases" and "Squash TM executions". The configuration pop-up enables you to rename these tabs that appear in the Jira requests of the project. Once the configuration is done, click on [Save].

Preview of a Jira Request

In Jira Data Center and Jira Cloud the tabs added by Xsquash appear in the "Activity" block of the configured project's requests.
The first tab, dedicated to test cases, and the second one, dedicated to executions, enable you to track the progress of acceptance in Squash TM from Jira.

The "Squash TM Test Cases" Tab

In the "Squash TM Test Case" tab, a table displays different information on the test cases related to the Jira request regardless of their format (Classic, Gherkin, BDD, Exploratory Test). This table is first sorted by the importance, then the reference, and finally the description of the test case.

In the table, by clicking on the button at the end of a test case's row, you can display extra information on the test case such as its description, test steps or datasets.

You can also click on:

  • The test case's description to display it in Squash TM;
  • The dot indicating the status of the last execution to display it in Squash TM.

Preview of the "Squash TM test cases" tab in a Jira Data Center request:

Squash TM test case

"Squash TM Executions" Tab

The "Squash TM Executions" tab displays a table with information related to the last execution of each execution plan item. Thus, if the test case is added to x execution plans, then the tab will display the last execution of these x occurrences.

In the table, by clicking on the button at the end of each row, you can display extra information on the last execution, such as the executed test steps, and the associated comments.

You can also click on:

  • The name of the campaign to display the campaign in Squash TM;
  • The name of the iteration to display the iteration in Squash TM;
  • The description of the test to display the test case in Squash TM;
  • The last execution date to display the ITPI's last execution in Squash TM.

Preview of the "Squash TM Execution" in a Jira Cloud request:

Squash TM Execution

Quick Overview from a Table

In Jira Data Center, from the Scrum and Kanban tables, you can get a quick overview of each request by clicking on its name.

The Xsquash plugin adds two more blocks:

  • Squash TM Test Case: displays the number of tests linked to the request;
  • Squash TM executions: displays the number of executions (planned or finished) of the test cases linked to the request.

Quick overview

In Jira Cloud, from Scrum boards and Kanban boards, you can get a detailed view of each request by clicking on its name.

Detailed overview