The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Jira Widget in NextJS not visible

Marcos Magno
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!
October 4, 2024

I am using NextJS and Next script to load Jira's wdiget script, however the script is loaded but not shown on the pages.


 

          <Script
            data-jsd-embedded
            data-key="key"
            data-base-url="https://jsd-widget.atlassian.com"
            onError={(e) => console.error(e)}
            onReady={() => console.log('ready')}
          />

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Nicolas Van Damme
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!
September 1, 2025

A (janky) way to fix this is to add the following to the onLoad callback:

 

if (document.readyState !== 'loading') {
document.dispatchEvent(new Event('DOMContentLoaded'));
}
0 votes
Jef Braem
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!
September 1, 2025

Hey Marcos, did you find a solution for this? We are facing the same issue, and have not found a solution yet.

It seems like the limitation is that the Jira Widget expects to be available when the DOM content load event is fired.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events