Problem:
- The app opens a dialog (addorupdatestandup) when clicking an "Add" button in the issue view.
- The dialog collects user input (estimated time and description) and sends a POST request via fetch when the "Submit" button is clicked.
- The request is canceled in the browser (Chrome), and the Network tab shows "failed to load response data: Connection is closed."
- JWT token has been used.
- The server endpoint is implemented in a NopCommerce plugin, and CORS is configured to allow https://akibnihal.atlassian.net and https://recognized-leaving-velvet-dot.trycloudflare.com.
Observations:
Code Details:
Add Standup Button (in worklogsummery.js):

addStandup Function (in addOrUpdateStandup.js):

Submit Button Handler (in addOrUpdateStandup.js):

NopStartup.cs:


atlassian-connect.json:


Error Details
- Error: Error adding standup: TypeError: Failed to fetch
Stack Trace:
at addStandup (recognized-leaving-velvet-dot.trycloudflare.com/Plugins/Misc.NopStation.JiraPowerUpClient/Contents/js/addOrUpdateStandup.js?v=DI0W5jLAW_xXuoWR2oA2IrCG6q8:1:50)
at f.<anonymous> (recognized-leaving-velvet-dot.trycloudflare.com/Plugins/Misc.NopStation.JiraPowerUpClient/Contents/js/addOrUpdateStandup.js?v=DI0W5jLAW_xXuoWR2oA2IrCG6q8:1:1642)
Network Tab: Request is canceled with "failed to load response data: Connection is closed
Request details:

