Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I’m developing an Atlassian Connect app for Jira to inject a custom UI in the issue view, allowing u

Akib Nihal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2025

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):
add-update-button.png

addStandup Function (in addOrUpdateStandup.js):

addOrUpdateStandup.js.png

Submit Button Handler (in addOrUpdateStandup.js):submitButton.png

submitButton2.png

 

NopStartup.cs:
nopstartup.cs.png

nopstartup.cs2.png

atlassian-connect.json:
atlassian-connect.json1.png

 atlassian-connect.json2.png

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:

addorupdatebrowser.png

 

addorupdatebrowserPayload.png

 

1 answer

0 votes
Rakibul Islam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2025

I guess This community is not active anymore

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events