Hi. I am trying to develop a dashboard gadget for jira cloud using a connect app. I am facing some problems -
- I am not able to figure out how to show the configuration form when the gadget is first added in the edit screen of the dashboard.
- After spending a LOT of time, I found a rest api to post configuration: /rest/api/3/dashboard/10002/items/10011/properties/config. But this is giving me a 403: unauthorized error even though I am an admin of my site.
Here is my descriptor:
"jiraDashboardItems": [
{
"description": {
"value": "Dashboard item description",
"authentication": "none"
},
"url": "/gadget.html",
"configurable": true,
"configure": {
"url": "/configureGadget.html",
"height": 500
},
"thumbnailUrl": "http://example.com/images/report-example-thumbnail.png",
"refreshable": false,
"name": {
"value": "Dashboard item title"
},
"key": "dashboard-item-key"
}
]