How to develop a simple iframe dashboard item

Shea Faigan August 2, 2017

I have gone through this every guide I can find and cloned the example to look through and run as a test. All I want is to have a simple iframe to a webpage.

This is our current atlassian-connect.json file (with sensitive info replaced with example info):

{
  "key": "com.example.plugins.test",
  "name": "",
  "description": "Test",
  "vendor": {
    "name": "Example",
    "url": "http://www.example.com"
  },
  "baseUrl": "https://example.com",
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/example/installed"
  },
  "modules": {
    "jiraDashboardItems": [
      {
        "description": {
          "value": "Testing out a dashboard item"
        },
        "thumbnailUrl": "test.png",
        "configurable": true,
        "name": {
          "value": "Test Dashboard Item"
        },
        "url": "/example/iframe_src",
        "key": "test-key"
      }
    ]
  },
  "scopes": ["READ", "WRITE"]
}

When I add this dashboard item to a dashboard, it loads a small iframe that doesn't fit the full page.

Below is this error message: Add-on is not responding. wait or cancel?

I have tried doing a full project with atlas-connect CLI and ngrok to host it, then installing it on a development instance of JIRA cloud, but it results in the same error.

 

What is the simplest way to do this?

1 answer

0 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2017

I am actually in the middle of developing a commercial version of a generic dashboard item that can consume any URL. Feel free to email me at support@atlasauthority.com if you want to play with the pre-release version.

Suggest an answer

Log in or Sign up to answer