Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
-
The multiple get issue requests are done in the initialisation of the remote jobs trigger dropdown, which exists in the Test Plan > Tests webpanel and Test Execution > Tests webpanel.
- Code: https://bitbucket.getxray.app/projects/XPXRAY/repos/xrayconnect/browse/app/client/js/webpanel/settings/remote-jobs-trigger/components/trigger-build-dropdown.jsx#61-68
- Original PR: https://bitbucket.getxray.app/projects/XPXRAY/repos/xrayconnect/pull-requests/3093/diff#app/client/js/webpanel/settings/remote-jobs-trigger/components/trigger-build-dropdown.jsx
Improvements:
- Use the search issues endpoint, which allows to fetch multiple issues per request instead of just one.
- Request only the necessary fields to avoid downloading more data than necessary, in this case, just the issue key.
- It seems this data is only used when the user is actually triggering a remote job, so only fetch when the user clicks on a remote job to trigger.
These requests are only executed when Xray Enterprise is installed, so instances without Xray Enterprise won't have this behaviour.
The multiple get issue requests are done in the initialisation of the remote jobs trigger dropdown , which exists in the Test Plan > Tests webpanel and Test Execution > Tests webpanel . Code: https://bitbucket.getxray.app/projects/XPXRAY/repos/xrayconnect/browse/app/client/js/webpanel/settings/remote-jobs-trigger/components/trigger-build-dropdown.jsx#61-68 Original PR: https://bitbucket.getxray.app/projects/XPXRAY/repos/xrayconnect/pull-requests/3093/diff#app/client/js/webpanel/settings/remote-jobs-trigger/components/trigger-build-dropdown.jsx Improvements: Use the search issues endpoint, which allows to fetch multiple issues per request instead of just one. Request only the necessary fields to avoid downloading more data than necessary, in this case, just the issue key. It seems this data is only used when the user is actually triggering a remote job, so only fetch when the user clicks on a remote job to trigger. These requests are only executed when Xray Enterprise is installed, so instances without Xray Enterprise won't have this behaviour.
-
XRAYCLOUD 2024 Sprint 3, XRAYCLOUD 2024 Sprint 4
-
Description
If Xray Enterprise is installed, upon opening Test Plan and Test Execution multiple single GET requests to the fetch issue API will be made.
This causes serious delays to the panel load times and in extreme cases will completely block the panel from loading due to time-outs.