Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-9037

When creating AI Tests in a Requirement project (without issue type Test), the Generate Test Cases feature throws an error in the Create Test Cases phase

    XporterXMLWordPrintable

Details

    • Standard
    • UNCOVERED

    Description

      Description

      When creating AI Tests in a Requirement project (without issue type Test), the Generate Test Cases feature throws an error in the Create Test Cases phase.

      Pre-conditions

      • Create a project with only Requirements. Be sure the issuetype Test is not there.
      • Configure those issue types under Xray Settings >> Test Coverage.

      How to reproduce

      1. Go to a coverable issue in a Jira project that does not contain the Test issue type.
      2. Go to the Test Coverage section.
      3. Press the Test Cases Beta button.
      4. Select a test type. (Problem is reproducible for both Manual and Gherkin.)
      5. Leave Link Preconditions empty.
      6. Leave Link Coverage issues prepopulated with the context issue.
      7. Enter instructions into "Please share your test requirements".
      8. Press Generate Test Cases. The AI will successfully generate test case ideas/topics.
      9. Press Review & Edit. The AI will successfully generate a test case with steps for the selected idea.
      10. Press Create Tests.

      Actual result/Attachments

      Error loading results
      We were unable to generate tests at this time. Please try again later.

      For client, it just spins and nothing happens.

      Expected result (updated Oct 2, 2025)

      • For entry points from the User Story and Precondition issue types where the project does not have the issue type "Test," the entry point button is disabled with the following tooltip: "Project [project key] does not support Test issue types. Enter the test case generation feature from a project with tests, and link this issue if desired."
      • For the entry point on the test repository where the project does not have the issue type "Test," the entry point button is disabled with the following tooltip: "Project [project key] does not support Test issue types. Enter the test case generation feature from a project with tests."

      Version

      • XRAYCLOUD 6.7.0-1

      Attachments

        1. 9037.mp4
          20.08 MB
        2. 9037-1.mp4
          64.63 MB
        3. image-2025-08-06-13-10-32-457.png
          image-2025-08-06-13-10-32-457.png
          155 kB
        4. image-2025-09-08-15-48-09-181.png
          image-2025-09-08-15-48-09-181.png
          292 kB
        5. image-2025-09-08-15-48-09-206.png
          image-2025-09-08-15-48-09-206.png
          196 kB
        6. image-2025-09-30-14-45-31-997.png
          image-2025-09-30-14-45-31-997.png
          494 kB
        7. image-2025-09-30-14-52-34-489.png
          image-2025-09-30-14-52-34-489.png
          170 kB
        8. XRAYCLOUD-9037.mp4
          10.99 MB

        Activity

          People

            reymar.gsudoers Reymar Enteria
            amgt Ana Teixeira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: