connect json jira: iFrame is 0 pixels high

I created a very simple on demand plugin with the connect json.

It looks like this:

{name: "..",

description: "..",

key: "..",

baseUrl: "https://..",

vendor: {

name: "..",

url: "http://.."},

authentication: {

type: "none"},

version: "1.0",

modules: {generalPages: [

{url: "/",

key: "App1",

name: {value: "xyz"


Now, when Jira On Demand is displaying my "xyz" tab it retrieves my page through the https server declared in baseUrl, but in an iFrame that is 0 pixels high.

Also, it does not recognize that the load is done and says my plugin fails.

My questions:

* do I have to specify somewhere the height of the iFrame to use?

* is there any protocol to use to tell Jira the page is ready?



1 answer

1 accepted

Found out there was a mistake in the inclusion of the all.js script from atlassian.

This page describes it:

You need to add the data-options="sizeToParent:true" attributes to the call to the js script, so that the iFrame is using the full window.

And if you fail to call the js completely you have to behavior I describe above: iFram height stays at zero.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot