Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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 Looker Studio, it is important to have this data to bring consistency to business analytics.

Looker Studio Connector for Jira allows exporting Xray app data easily from Jira to Looker Studio.

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

Xray.gif

How to Add Xray Client ID

Xray Client ID is required to export Xray data.

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

  1. Scroll down, and then select API Keys.

  1. Select Create API Key.

The Create API Key pop-up window will appear.

  1. Enter your name or name of desired user.

  1. Select Generate.

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

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

  1. Select Apps, and then select Looker Studio Connector for Jira.

  1. Select Tokens, and then select Xray.

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

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

Xray Tables Filtering

Looker Studio Connector for Jira Cloud offers GLOBAL and LOCAL filters:

  • MODIFIED FROM

  • TEST TYPE

  • TESTS

  • TEST EXECUTIONS

  • TEST RUN ASSIGNEES

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.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.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

  • No labels