Format field as a scenario

To configure a records management policy, you need to update the Format field to xray scenario:

  1. Access the administration area.

  2. Navigate to the Policy Management page.

  3. Update the Records Management Policy:

    Copy
    "Format" : "xray scenario",

Check out a sample of a records management policy with this format for Xray test:

Copy
"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"
                     }

Check out a sample of a records management policy with this format for Xray execution:

Copy
"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"
                    }