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
Community moderators have prevented the ability to post new answers.
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" } } ]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.