Appearance
Qase migration
WARNING
MIGRATION AVAILABLE FOR ALLURE TESTOPS VERSION > 4.26.0
Configuration file example
Create the json file with content like:
elm
{
"type": "qase",
"debug": true,
"allureConfig": {
"endpoint": "https://demo.testops.cloud/",
"token": "bf012aac-f2ca-4bdd-a30c-9f427901e239",
"projectId": 33,
"migrationTagPrefix": "qase",
"folderCfPrefix": "Suite"
},
"qaseConfig": {
"endpoint": "https://app.qase.io/",
"token": "530c9a68d2e6226f851b15ff8e525dbb4c1a56",
"projectCode": "AI",
"caseIds": [123, 345],
"mapping": [
{
"sourceName": "severity",
"targetName": "Severity",
"defaultValue": "Normal",
"valueMapping": [
{
"from": "1",
"to": "Blocker"
},
{
"from": "2",
"to": "Critical"
},
{
"from": "3",
"to": "Major"
},
{
"from": "4",
"to": "Normal"
},
{
"from": "5",
"to": "Trivial"
}
]
},
{
"sourceName": "priority",
"targetName": "Priority",
"defaultValue": "Medium",
"valueMapping": [
{
"from": "1",
"to": "High"
},
{
"from": "2",
"to": "Medium"
},
{
"from": "3",
"to": "Low"
}
]
},
{
"sourceName": "type",
"targetName": "Type",
"valueMapping": [
{
"from": "1",
"to": "Other"
},
{
"from": "2",
"to": "Smoke"
},
{
"from": "3",
"to": "Regression"
},
{
"from": "4",
"to": "Security"
},
{
"from": "5",
"to": "Usability"
},
{
"from": "6",
"to": "Performance"
},
{
"from": "7",
"to": "Acceptance"
},
{
"from": "8",
"to": "Functional"
},
{
"from": "9",
"to": "Compatibility"
},
{
"from": "10",
"to": "Integration"
},
{
"from": "11",
"to": "Exploratory"
}
]
},
{
"sourceName": "layer",
"targetName": "TESTOPS_TEST_LAYER",
"valueMapping": [
{
"from": "1",
"to": "E2E"
},
{
"from": "2",
"to": "API"
},
{
"from": "3",
"to": "Unit"
}
]
},
{
"sourceName": "status",
"targetName": "TESTOPS_STATUS",
"defaultValue": "Draft",
"valueMapping": [
{
"from": "0",
"to": "Active"
},
{
"from": "1",
"to": "Draft"
},
{
"from": "2",
"to": "Outdated"
}
]
},
{
"sourceName": "feature",
"targetName": "Feature",
"mapValueAsIdentity": true
},
{
"sourceName": "7",
"targetName": "CustomFieldNameInTestOps",
"customField": true
},
{
"sourceName": "12",
"customField": true,
"migrateName": true
}
]
}
}
Confirguration parameters
Name | Mandatory | Description | Example |
---|---|---|---|
commonProperties | yes | see description here: Common properties | |
allureConfig | yes | see description here: Allure TestOps properties | |
qaseConfig.endpoint | yes | Qase instance url | |
qaseConfig.token | yes | Qase token | |
qaseConfig.projectCode | yes | Qase project code | AI |
qaseConfig.caseIds | no | A list of specific cases for migration can be specified. Without this parameter, the migration will be done for all cases in the project | |
qaseConfig.mapping | no | A list of cf values which need to be migrated to allure as custom fields or some system parameters like (layer, statuses). { "sourceName": "priority", "targetName": "Priority", "defaultValue": "Medium", "valueMapping": [ { "from": "1", "to": "High" }, { "from": "2", "to": "Medium" }, { "from": "3", "to": "Low" } ] } To migrate custom field from Qase use the structure like: { "sourceName": "7", "targetName": "CustomFieldNameInTestOps", "customField": true }, { "sourceName": "12", "customField": true, "migrateName": true } | see above |