Xray integration connection setting

Xray connection settings will differ based on Xray Cloud and Xray Server. See below for specific source system details. For more information, also see Connections management.

Xray Cloud

Add an Xray connection

For Xray Cloud, the connection has its own server URL, separate from Jira, so you must add an Xray Cloud system.

To add a new Xray connection, follow these steps:

  1. Open Site Administration > Settings tab.

  2. Click the Connections tab.

  3. Click Add Connection and select the desired system.

  4. Enter the following fields:

    Fields Data

    System

    Xray Cloud

    Name

    Xray Cloud

    Server

    https://xray.cloud.getxray.app/api/v2

    Service Account

    <service account>

    Password

    <encrypted password>

    Browser URL

    https://xray.cloud.getxray.app/api/v2/

    API URL

    https://xray.cloud.getxray.app/api/v2/

Xray Server

Add a Jira connection with linked locations

For Xray Server, the connection is linked to the Jira connection, so you must build off of the Jira Server by adding a “linked location” and pointing it to Xray Cloud.

Fields Data

System

JIRA

Name

<Name of Jira Server>

Server

https:<server name>.atlassian.net/

Service Account

<emailtesting@domain.com>

Password

<encrypted password>

Browser URL

https://<servername>.atlassian.net/browse/{Key}

API URL

https://<server name>.atlassian.net/rest/api/2/issue/{Issue ID}

Linked Locations Name

Xray Cloud

Linked Locations System

Xray Cloud

Records Management policy

The Records Management policy must be updated to reflect the desired fields that will be displayed in Vera. Details specific to each of the entities below can also be added to allow Vera to display those as part of the record.

Xray entity Required field definitions

Jira XRay Cucumber Test

Test Type, Summary, Scenario, Repository

Jira XRay Generic Test

Test Type, Summary, Definition, Repository

Jira XRay Manual Test

Test Type, Summary, Repository

Jira XRay Test Run

Status, Executed By, Started On, Finished On, Duration, Comment, Assignee, Test Environments, Fix Versions

Example: Here you can download Record Management Policy templates for Xray Cloud and Xray Server.