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

Manual Test Steps panel fails to load after CMJ migration

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC 8.4.4
    • None
    • Integration
    • None
    • DC

    • UNCOVERED

    Description

      Description

      After migrating a Jira DC instance via the CMJ plugin, Xray's Manual Test Steps panel fails to load: the view screen shows no Steps panel, and the edit screen's manual test section is stuck loading indefinitely. Other test kinds are unaffected.

      Pre-conditions

      • Jira DC instance migrated from a source to a target instance using the CMJ (Configuration Manager for Jira) plugin.
      • Xray was installed before the CMJ migration ran.
      • Reproduces across multiple/all projects in the target instance (not limited to one project's configuration).

      How to reproduce

      1. On the migrated (target) Jira DC instance, open a Test issue whose Test Type is Manual (Steps).
      2. View the issue - the Manual Test Steps panel does not render.
      3. Edit the issue - the Manual Test Steps section remains stuck in a loading state indefinitely.
      4. Repeat on a different project in the same target instance - same behavior occurs (confirmed instance-wide, not project-specific).

      Actual result/Attachments

      The QuickEditIssue response on the target instance renders the raw Velocity placeholder "${ravenProjectId}" instead of a resolved numeric project ID. The frontend JS then parses this as NaN and calls:
       
       GET /rest/raven/1.0/customFields/fieldStructure?projectId=NaN&entityType=TEST_STEP
      which returns a 404, so the Manual Test Steps configuration cannot load. DB checks confirmed no missing/invalid PROJECT_ID values, ruling out data corruption - this points to a Velocity/template context rendering problem introduced by the migration. Calling the same endpoint manually with a valid numeric project ID returns data correctly.

      Attachments

        Issue Links

          Activity

            People

              joana.fonseca Joana Fonseca
              goncalo.nunes Gonçalo Nunes
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: