/
Xray Test Management for Jira

Xray Test Management for Jira

Xray Test Management Overview

ย 

Xray app allows users to manage all tests as Jira issues, monitor test coverage, and analyze test statuses. When building Jira reporting in BI software such as Microsoft Power BI, it is important to have this data to bring consistency to business analytics.

Power BI Connector for Jira allows exporting Xray app data easily from Jira to Microsoft Power BI.

Xray Test Management Fields can be found in a separate tab.

xray-tables-1.gif

ย 

How to Add Xray Client ID

ย 

Xray Client ID is required to view and export Xray data via Power BI Connector for Jira Cloud.

ย 

  1. Being signed in to your Jira Cloud instance, select Apps, and then select Manage your apps.

pbi_connector_jira_cloud_tempo_uninstall-1 (1).gif
  1. Scroll down, and then select API Keys (under the XRAY section).

pbi_connector_for_jira_tempo_-_xray_2.gif
  1. Select Create API Key.

The Create API Key pop-up window will appear.

ย 

  1. Enter your name or the name of the desired user, and then select Generate.

ย 

The API Key was successfully generated pop-up window will appear.

ย 

  1. Copy Client Id and Client Secret, and then select Close.

ย 

  1. Go back to Apps, and then select Power BI Connector for Jira.

pbi_connector_for_jira_tempo_-_xray_6.gif
  1. On the left-side menu, select API Integrations, and then select the Xray tab.

pbi_connector_for_jira_tempo_-_xray_7.gif
  1. In the Client Id* and Client Secret* fields, paste your client ID and client secret respectively, and then select Validate & Save.

pbi_connector_for_jira_tempo_-_xray_8.gif

Starting now, all users with granted permission to work with the data sources can select Xray tables and fields for export.

xray-tables-2.gif

ย 

Xray Tables Filtering

ย 

Power BI Connector for Jira Cloud offers global and local filters:

  • modified from

  • test type

  • tests

  • test executions

  • test run assignees

Xray global and local filters.gif

ย 

If you apply the modified fromfilter, it will be applied to all Xray tables. If the filter is not needed for a specific table, you can deselect it individually for each table.

Modified from (1).gif

ย 

There are also JQL and Basic filters available to apply. Unlike the modified from filter, JQL and Basic filters are applied to the Jira issue itself. The modified fromfilter is applied to Xray fields.

The JQL and Basic filters are only applied to the following tables:

  • Tests

  • Test Steps

  • Preconditions

  • Test Preconditions

  • Test Set Tests

  • Test Plan Tests

  • Test Plan Executions

  • Test Plan Folders

  • Test Execution Tests

  • Test Execution Environment

  • Test Step Attachment

Filter Options.gif

ย 

As per linking tables, JQL or Basic filter is applied to the main table only. All linking tables are marked with the link icon .

For example, the Test Preconditions table links the Test issue types (Xray tests) and the Precondition issue types. In this case, only the Test issue types will be filtered by JQL or Basic filter. This means youโ€™ll get all the Test issue types that match the specified filter along with their preconditions.

ย 

The test type filter allows selecting the specific type of tests for export: Manual, Generic, or Cucumber. You can select only one type at once.

Test Type.gif

ย 

The test filter allows selecting the specific test(s) for export.

The test executions filter allows selecting the specific test execution(s) for export.

The test run assignee filter allows selecting the certain test run(s) for export performed by a specific user (assignee).

Local Filters.gif

ย 

If you need to export test runs for specific tests, simply select them using the Tests filter.

TESTS Filter.gif

ย 

If the specific tests you need to export are already grouped within a single test execution, just select that test execution using the Test Executions filter. You can select a few test executions.

When selecting a specific test execution in the Test Executions filter, and then selecting tests in the Tests filter that don't belong to the specified test execution, the exported table will be blank as a result.

Test Executions.gif

ย 

If you need to export test runs assigned to a specific user, select their name in the Test Run Assignees filter. You can select a few assignees.

When selecting a specific assigneeโ€™s name in the Test Run Assignees filter, and then selecting tests in the Tests filter, the exported table will be blank as a result (the same logic is applied for selecting test executions).

Test Run Assignees.gif

ย 

ย 

ย 

ย 

ย 

Related content