Table of Contents


Details Tab

Select the connector Type as Xray (JIRA Cloud) - Tests

Give your new connector profile a name

Connection Tab

Provide the following connection information:

  • URL: The URL for your Jira Instance

  • JIRA Username: Must be an admin user in Jira

  • JIRA API Key: This can be generated by an admin user in your Jira instance. Please see instructions available here.

  • Project Key: Select the XRay project you would like to export test cases into. To unlock the list of available projects, click the blue reload button.

  • XRay Client ID and XRay Secret Key: Please see instructions available here.

Field Mappings Tab

Field mappings are divided into two areas: Issue fields and Test Step Fields. The configurations for each

  • Attribute is the name of the field in your Jira instance.

  • Internal Name is the key for the field in Jira (usually this is the name of the field in all lowercase).

  • Built In refers to whether the field is required in Jira.

  • Mapped Value is the value that will be exported from Test Modeller into your chosen Jira field.

Issue fields are fields that are available in the normal Jira issue, such as the Summary and Description. By default, these will be included in your connection.

Test Step Fields are fields that are available in the Xray Test Details field as Steps. The default fields that are included with this connection type are Action, Data, and Expected Result.

Note: if you would like to export Test Modeller data into fields that are not already inside of your Jira instance, you will first need to create the fields inside Jira. Test Modeller can only map to existing fields in Jira.

For instructions on how to create custom fields in Jira, please refer to this link.

For instructions on how to create custom fields in Xray, please refer to this link.

Types of Mappings

Type

Description

Availability

Model

Exports data from the model properties level.

Issue and Test Step Field

Model Version

Exports data for the specific version of the chosen model.

Issue and Test Step Field

Test Suite

Exports data from the test suite level.

Issue and Test Step Field

Path

Exports data from the model paths, or test case names.

Issue Field

Nodes

Exports data from the action level inside of models (ex: task blocks)

Test Step Field

Export Override

Overrides any given field with a property set inside the mapping value.

Issue and Test Step Field

Custom Fields in Test Modeller

Custom Fields can be created in Test Modeller either at the Model or Node level to further customize what data can be exported.

To add custom fields to navigate to Workspace → Configuration → Custom Fields. Here, you can hit the blue New Field button to create a new field and select either Model or Node for the Field Level.

Custom model properties will be available underneath the Model Properties tab in a model.

Custom node Properties will be available inside the Properties section of an action block.

Issue Field - Mapped Value Options

Model

  • ID

  • Guid

  • Name

  • Created Date

  • Description

  • Model URL

  • Model Tags

  • Creator

  • Assignee

  • State

  • Priority

Model Version

  • ID

  • Guid

  • Version No

  • Description

  • Custom

  • Node Table Markup

Test Suite

  • ID

  • Test Suite Name

  • Test Summary Markup

  • Test Summary Gherkin

  • Test Summary Gherkin Order Dependent

  • Test Summary List

Path

  • ID

  • Guid

  • Test Name Path

  • Test Markup

  • Test Gherkin

  • Test Summary List

  • Expected Results List

  • Test Summary List HTML

  • Expected Results List HTML

Export Override

  • Export Override

Test Step Field - Mapped Value Options

Model

  • ID

  • Guid

  • Name

  • Created Date

  • Description

  • Model URL

  • Model Tags

  • Creator

  • Assignee

  • State

  • Priority

Model Version

  • ID

  • Guid

  • Version No

  • Description

  • Custom

  • Node Table Markup

Test Suite

  • ID

  • Test Suite Name

  • Test Summary Markup

  • Test Summary Gherkin

  • Test Summary Gherkin Order Dependent

  • Test Summary List

Nodes

  • ID

  • Guid

  • Origin Guid

  • Node Type

  • Constraint Filter

  • Automation Module Name

  • Tagged Automation

  • Gherkin Action

  • Item

  • Location

  • Text

  • Description

  • Expected Result

  • Test Step

  • Meta Attributes

  • Custom

Export Override

  • Export Override