I am trying to modify the embedded code for the widget to allow it to open automatically when someone loads the page, vs. having the user click the "?" logo to open up the widget. Any insight on what the code should be?
<script data-jsd-embedded data-key="xx" data-base-url="https://jsd-widget.atlassian.com" src="https://jsd-widget.atlassian.com/assets/embed.js"></script>
Welcome to Atlassian Community!
It's possible to make the widget to open automatically when accessing a page.
We tested here and the following code works correctly:
<script add your widget script here </script>
//gets the iframe on which the widget is embedded
let iframe = document.querySelector('#jsd-widget');
//gets the content of the iframe
let iframeContent = iframe.contentDocument;
//gets button which opens the widget
button = iframeContent.querySelector('#help-button');
Please, give it a try and let us know how it goes.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events