Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    DefectIntakeRequest

    Fields

    POST body for /api/v1/analytics/defects — manual defect intake.

    10 fields
    affects_releases
    array of string or null
    component
    string or null
    description
    string or null
    failure_category
    FailureCategory
    jira_ticket_url
    string or null
    project_id · required
    string (uuid)
    severity · required
    string
    suite_name
    string or null
    test_name
    string or null
    title · required
    string
    Raw schema (JSON)
    {
      "description": "POST body for /api/v1/analytics/defects — manual defect intake.\n\nSeverity uses the P0–P3 vocabulary the Defects UI renders; it maps to the\n`defects.severity` column's CRITICAL/HIGH/MEDIUM/LOW values server-side.\n`test_name`/`suite_name` are optional — when both are supplied the service\nwill try to attach the new defect to the most-recent matching TestCase row,\notherwise the defect is created standalone (test_case_id NULL).",
      "properties": {
        "affects_releases": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "maxItems": 100,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Affects Releases"
        },
        "component": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Component"
        },
        "description": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "failure_category": {
          "$ref": "#/components/schemas/FailureCategory",
          "default": "PRODUCT_BUG"
        },
        "jira_ticket_url": {
          "anyOf": [
            {
              "maxLength": 1000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Jira Ticket Url"
        },
        "project_id": {
          "format": "uuid",
          "title": "Project Id",
          "type": "string"
        },
        "severity": {
          "enum": [
            "P0",
            "P1",
            "P2",
            "P3"
          ],
          "title": "Severity",
          "type": "string"
        },
        "suite_name": {
          "anyOf": [
            {
              "maxLength": 500,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Suite Name"
        },
        "test_name": {
          "anyOf": [
            {
              "maxLength": 1000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Test Name"
        },
        "title": {
          "maxLength": 255,
          "minLength": 3,
          "title": "Title",
          "type": "string"
        }
      },
      "required": [
        "project_id",
        "title",
        "severity"
      ],
      "title": "DefectIntakeRequest",
      "type": "object"
    }

    One endpoint sends or returns this schema, on its own or inside another schema.

    No other schema contains this one.