Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11558

Xray Test fields marked as Required in Jira Field Configuration are not enforced

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • Xray DC 8.2.3
    • None
    • Xray Enterprise
    • None
    • Jira Data Center 9.12.30
      Xray Enterprise 2.2.3

    Description

      Description

      When configuring Xray Test fields as Required via Jira Field Configuration, Jira ignores the required constraint and allows Test issues to be created with empty values.

      This affects Xray-managed fields on the Test issue type:

      • Pre-Conditions association with a Test
      • Manual Test Steps

      Despite being marked as required, Jira does not enforce validation.

      Pre-Condition

      • Jira Data Center instance
      • Xray Enterprise installed and enabled
      • Field Configuration applied to the project

      How to reproduce

      1. Go to Jira Settings → Issues → Field configurations
      2. Edit the Field Configuration used by the project
      3. Mark “Pre-Conditions association with a Test” as Required
      4. Mark “Manual Test Steps” as Required
      5. Create a new Test issue
      6. Leave the required field(s) empty
      7. Click Create

      Actual result / Attachments

      • Jira allows the Test issue to be created
      • No validation error is displayed
      • Required constraint is ignored
      • Fields remain empty after issue creation

      Expected result

      • Jira should block Test issue creation
      • A validation error should be shown for missing required fields
      • The Test issue should not be created until:
        • A Pre-Condition is associated, and/or
        • Manual Test Steps are defined

      Version

      • Jira Data Center: 9.12.30, 10.3.12
      • Xray Enterprise 2.2.3

      Workaround

      There is currently no supported workaround.

      • Jira Field Configuration “Required” flag is ignored for these fields
      • Users must rely on process checks rather than technical enforcement

      Attachments

        Activity

          People

            joana.fonseca Joana Fonseca
            joshua.tesfaye Joshua Tesfaye
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: