Skip to content

XRay for Jira Server migration

WARNING

MIGRATION AVAILABLE FOR ALLURE TESTOPS VERSION > 4.26.0

Configuration file example

Create the json file with content like:

json
{
  "type": "xray",
  "debug": true,
  "oneByOne": true,
  "allureConfig": {
    "endpoint": "https://demo.testops.cloud/",
    "token": "1f4b4acd-418c-4d0b-8533-1d747abb7599",
    "sslTrustAll": true,
    "projectId": 6,
    "migrationTagPrefix": "xray"
  },
  "xrayConfig": {
    "endpoint": "http://localhost:2990/jira",
    "username": "admin",
    "password": "admin",
    "sslTrustAll": true,
    "projectKey": "ZM",
    "issueType": "Test"
    "customFields": {
      "priority": "Priority"
    }
  }
}

Configuration parameters

NameMandatoryDescriptionExample
commonPropertiesyessee description here:
Common properties
allureConfigyessee description here:
Allure TestOps properties
xrayConfig.endpointyesJira instance url
xrayConfig.usernameyesJira username
xrayConfig.passwordyesJira password
xrayConfig.sslTrustAllnoFlag if the host validation should take place. Example "true".true
xrayConfig.projectKeyyesJira project keyZM
xrayConfig.issueTypeyesThe name of issue type in Jira systemTest
xrayConfig.issueFilternoThe filter for issues you want to migrateand component='API' or component='UI'
xrayConfig.customFieldsnoA list of Jira fields which need to be migrated to Allure as custom fields.
Structure: "jira_field_name": "TestOps_custom_field_name"
{"Priority": "Severity"}
xrayConfig.folderCfNamenoName of custom field for folders structurecustomfield_10009
xrayConfig.parametersCfNamenoName of custom field for parameterscustomfield_10028
xrayConfig.stepsCfNamenoName of custom field for test stepscustomfield_10003

Last updated: