How to develop a simple iframe dashboard item

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 Community Champion Aug 02, 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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,556 views 2 7
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