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?
Thanks
Yves
Found out there was a mistake in the inclusion of the all.js script from atlassian.
This page describes it: https://developer.atlassian.com/static/connect/docs/modules/jira/general-page.html
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.