Format field as a scenario
Field format is configurable in the Records Management Policy by modifying the Field Format with “xray scenario”.
Follow the directions below to configure the Records Management Policy:
Access the Administration Area
Navigate to the Policy Management Page.
Update the Records Management Policy with
"Format" : "xray scenario",
A sample of an RMP with this format for Xray tests and Xray executions
Test
"Name": "Jira XRay Cucumber Test",
"Base Record Type": "Jira Issue",
"Definitions": [
{
"Systems": [
"JIRA"
],
"Item Types": [
"Test"
],
"Constraints": [
{
"Type": "Field Is Equal",
"Name": "Test Type",
"Value": "Cucumber"
}
],
"Aliases": [],
"Singular Name": "Test",
"Plural Name": "Tests",
"Ownership Description": "created",
"Content Originator": "Author",
"Hard Lock Rules": [],
"Details": []
}
],
"Editors": [],
"Managers": [],
"Administrators": [],
"State Field": "",
"States": [],
"Fields": [
{
"Name": "Test Type",
"Is Data": true
},
{
"Name": "Summary",
"Is Data": true
},
{
"Name": "Scenario",
"Is Data": true,
"Format": "xray scenario"
}
Test Execution
"Name": "Jira XRay Cloud Cucumber Test Run",
"Base Record Type": "Jira XRay Cloud Test Run",
"Definitions": [
{
"Systems": [
"JIRA"
],
"Item Types": [
"xray-cloud-cucumber-test-run"
],
"Constraints": [],
"Aliases": [],
"Singular Name": "Test Plan",
"Plural Name": "Test Plans",
"Ownership Description": "created",
"Content Originator": "Author",
"Hard Lock Rules": [],
"Details": []
}
],
"Editors": [],
"Managers": [],
"Administrators": [],
"State Field": "",
"States": [],
"Fields": [
{
"Name": "Scenario",
"Is Data": true,
"Format": "xray scenario"
}