Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
Note |
---|
The main part of Xray integration is already done, but our developers are still working on adding new Xray data, which will be released very soon. |
Table of Contents | ||||
---|---|---|---|---|
|
Looker Studio Connector for Jira
allows
exporting Xray app data easily from Jira to Looker Studio.
Info |
---|
Xray Test Management Fields can be found in a separate tab |
Overview
Test Specification includes the following concepts: Tests, Preconditions, TestSets, TestPlans, TestExecutions. These are, in general, Jira issues with the corresponding IssueType. |
Test Execution includes TestRuns. TestRun contains a snapshot of the test data at its execution time (as the test specification may change in the future).
The Xray plugin adds 3 custom fields: StartDate, EndDate, Revision.
They are mostly used during TestExecution and mean when to start executing tests and documentation version. Also, in the tests context, such standard Jira fields as Summary, Description, Assignee, FixVersions, Components, issue links, etc. These fields may be of interest for reports and dashboards, and are recommended to be included into the datasource. They can be found here:
Jira Work Management ->Issues -> IssueComponents, IssueFixVersions, IssueLinks, CustomFields
Xray - Test Specification Fields
Xray - Test Execution Fields
TestRunIterationStepEvidences
ITERATION_STEP_ID
NAME
SIZE
CREATEDHow to Add Xray Client ID
Xray Client ID is required to export Xray data.
Being signed in to your Jira Cloud instance, select Apps, and then select Manage your apps.
Scroll down, and then select API Keys.
Select Create API Key.
The Create API Key pop-up window will appear.
Enter your name or name of desired user.
Select Generate.
Tip |
---|
The API Key was successfully generated pop-up window will appear. |
Copy Client Id and Client Secret, and the select Close.
Select Apps, and then select Looker Studio Connector for Jira.
Select API Integrations, and then select Xray.
In the Client Id* and Client Secret* fields, paste your client ID and client secret, and then select Validate & Save.
Tip |
---|
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
Status | ||||
---|---|---|---|---|
|
Status | ||
---|---|---|
|
Status colour Blue title MODIFIED FROM Status title TEST TYPE Status title TESTS Status title TEST EXECUTIONS Status title TEST RUN ASSIGNEES
If you apply the
Status | ||||
---|---|---|---|---|
|
There are also JQL and Basic filters available to apply. Unlike the
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Info |
---|
The JQL and Basic filters are only applied to the following tables:
|
As per linking tables, JQL or Basic filter is applied to the main table only. All linking tables are marked with the link icon 🔗.
Info |
---|
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
Status | ||
---|---|---|
|
The
Status | ||
---|---|---|
|
The
Status | ||
---|---|---|
|
The
Status | ||
---|---|---|
|
If you need to export test runs for specific tests, simply select them using the Tests filter.
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.
Info |
---|
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. |
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.
Info |
---|
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). |