Forums

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

Insert Issues collector iframe into page

OleksandrT
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!
April 4, 2017

Does anyone knows, if it is possible to insert Issue collector iframe into page, so it appears when DOM loaded, not when button was clicked?

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2017

There is a documented bug on the inability to get the issue collector to load correctly in an iframe, please see https://jira.atlassian.com/browse/JRASERVER-45229

However that bug page does note a work-around for this:



Adding this to the HTML page that has the issue collector should resolve the problem:

   $(document).ready(function() {
    checkContainer();
   });

   function unhide() {
    $("#atlwdg-container").removeClass("atlwdg-hidden");
   }

   function checkContainer() {
    if ($('#atlwdg-loading').is(':visible')) { //if the container is visible on the page
     unhide(); //Adds a grid to the html
    } else {
     setTimeout(checkContainer, 50); //wait 50 ms, then try again
    }
   }

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events