Details
-
Bug
-
Status: Waiting Approval
-
Critical
-
Resolution: Unresolved
-
Xray Cloud 15.0.0
-
None
-
None
-
N/A
Description
Description:
When the "Test Run Progress" column is added to the Tests panel of a Test Execution issue, the panel fails to load and an "Internal Server Error" toast appears. The backend crashes when computing stepsProgress because a Test Step Status on the affected site has a broken (null) link to its parent Test Status. As a result, POST /api/internal/testruns returns HTTP 500 for every Test Execution on the site. Removing stepsProgress from the fields array (i.e. not requesting the column) returns 200 successfully.
Pre-conditions:
- Xray Cloud installed on a Jira Cloud site
- The site has at least one Test Step Status whose testStatusId link is missing or not properly linked to a Test Status.
- The "Test Run Progress" column has been enabled in the Tests panel column configuration of any Test Execution
Steps to reproduce:
- On the affected site, open any Test Execution issue in Jira Cloud
- In the Tests panel, open the column configuration
- Add "Test Run Progress" as a visible column
- Observe the panel attempting to reload
Actual result/Attachments:
The Tests panel fails to render. POST https://eu.xray.cloud.getxray.app/api/internal/testruns returns HTTP 500. Browser console shows:
Error while processing datatable data
AxiosError: Request failed with status code 500, ERR_BAD_RESPONSE
Expected result:
The Tests panel loads successfully with the "Test Run Progress" column displayed and data populated.
Attachments
Issue Links
- is duplicated by
-
XCC-2535 Loading...