Skip to content

Zephyr Scale (TM4J Cloud) for Jira Cloud migration

WARNING

MIGRATION AVAILABLE FOR ALLURE TESTOPS VERSION > 4.26.0

Configuration file example

Create the json file with content like:

json
{
  "type": "tm4j-cloud",
  "debug": true,
  "oneByOne": true,
  "allureConfig": {
    "endpoint": "https://demo.testops.cloud/",
    "token": "1f4b4acd-418c-4d0b-8533-1d747abb7599",
    "sslTrustAll": true,
    "projectId": 6,
    "migrationTagPrefix": "tm4j",
    "folderCfPrefix": "Folder",
    "issueTrackerId": 6
  },
  "jiraConfig": {
    "endpoint": "https://comp.atlassian.net/",
    "username": "@comp.com",
    "password": "atlasian-api-key",
    "projectKey": "TI"
  },
  "tm4jCloudConfig": {
    "token": ".eyJzdWIiOiI1N2RhY2ZiMC1jOTYwLTMzNjYtOTU1OS05NmZjMzA4ZGQ3ZGUiLCJjb250ZXh0Ijp7ImJhc2VVcmwiOiJodHRwczpcL1wvdmJyYWdpbjAyLmF0bGFzc2lhbi5uZXQiLCJ1c2VyIjp7ImFjY291bnRJZCI6IjU1NzA1ODowMDcwMzcyZi04ZTc1LTRhNmMtOTM5NS1hYjc0MDU3ZmUxZjEifX0sImlzcyI6ImNvbS5rYW5vYWgudGVzdC1tYW5hZ2VyIiwiZXhwIjoxNjM1OTQ3MTYyLCJpYXQiOjE2MDQ0MTExNjJ9.Dad2w-un2tNf5G3xOmsLsSxLXT7lBdbPww8W8z-P7GY",
    "projectKey": "TI",
    "testscriptToDescription": true,
    "firstFolderAsSuite": true,
    "customFields": {
      "priority": "Severity",
			"status": "Status"
    }
  }
}

Configuration parameters

NameMandatoryDescriptionExample
commonPropertiesyessee description here:
Common properties
allureConfigyessee description here:
Allure TestOps properties
jiraConfig.endpointyesJira instance url
jiraConfig.usernameyesJira username
jiraConfig.passwordyesAtlassian API key
jiraConfig.projectKeyyesJira project keyTMJM
tm4jCloudConfig.tokenyesZephyr Scale API token generated here:
Zephyr Scale API Tokens
tm4jCloudConfig.projectKeyyesJira project keyTMJM
tm4jCloudConfig.testscriptToDescriptionnoIf you need your TC scenario to migrate as the test description, set this flag to true.false
tm4jCloudConfig.firstFolderAsSuitenoIf you need the first folder to migrate as the Suite custom field, set this flag to true.false
tm4jCloudConfig.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"}

Last updated: