Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why is the jira connect add-on's web panel not rendering?

Anshul Chhangani
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!
February 24, 2016

I have created and installed a private JIRA connect add-on with the following descriptor:

{
    "name": "TEST",
    "description": "Atlassian Connect add-on",
    "key": "com.hyfy.myaddon",
    "baseUrl": "https://a19b1ae8.ngrok.io/",
    "vendor": {
        "name": "Test Vendor",
        "url": "https://a19b1ae8.ngrok.io/"
    },
    "authentication": {
        "type": "jwt"
    },
    "lifecycle": {
        "installed": "/jira/callback/"
    },
    "modules": {
        "webPanels": [
            {
                "url": "https://a19b1ae8.ngrok.io/testview",
                "location": "atl.jira.view.issue.right.context",
                "key": "my-web-panel",
                "name": {
                    "value": "My Web Panel"
                }
            }
        ]
    }
}

But the web panel is not rendering. Attached is the screenshot of the error message. What can be the cause of this error? I have used the link: https://developer.atlassian.com/static/connect/docs/latest/modules/common/web-panel.html for reference.

Screenshot.png

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Dave
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2016

I have just tested and confirmed what @Robert Massaioli has said in the comment.

For connect within JIRA and Confluence, the url on webpanels need to be the extension on the baseurl that you had set in the top of your descriptor.
 

So since we have 

"baseUrl": "https://a19b1ae8.ngrok.io/",

 

Within our webpanel module, we just need to specify the path 

"webPanels": [
            {
                "url": "testview",
                "location": "atl.jira.view.issue.right.context",
                "key": "my-web-panel",
                "name": {
                    "value": "My Web Panel"
                }
            }
        ]
Dave
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2016

Also from our docs on the Web Panel page

Screen Shot 2016-02-26 at 10.08.07 AM.png

 

 

 

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2016

The url of your webpanel can just be 'testview', you don't need to attach the full base url. But I don't know if that will solve your problems.

TAGS
AUG Leaders

Atlassian Community Events