I need to migrate my plugin: https://marketplace.atlassian.com/plugins/my_work_calendarto the new JSON module descriptors and JWT and I stuck here.
I used old xml descriptor + oauth version of the atlassian-connect-play-java. Now when I swithced to the freshest verison of the atlassian-connect-play-java and created the appropriate JSON descriptor, I am not able to install the plugin to the local JIRA.
To simplify I started wtih the tutorial: https://developer.atlassian.com/static/connect/docs/guides/getting-started.htmland still get the error:
On the manage Add-ons page I get "Not authorized to install add-on http://localhost:9000/.". When I debug the UpmClient.class I see the following error:
{"type":"PLUGIN_INSTALL","status":{"errorMessage":"The add-on at {0} cannot be installed on this OnDemand instance.","source":"http://localhost:9000","done":true},"links":{"self":"/jira/rest/plugins/1.0/pending/d87d0d31-2907-48e1-9d51-d8494b3f58bf"},"timestamp":1402127729240,"userKey":"admin"}
The JSON descriptor looks like:
{
"name": "Hello World",
"description": "Atlassian Connect add-on",
"key": "com.example.myaddon",
"baseUrl": "${localBaseUrl}",
"vendor": {
"name": "Example, Inc.",
"url": "http://example.com"
},
"authentication": {
"type": "none"
},
"version": "1.0",
"modules": {
"generalPages": [
{
"url": "/helloworld",
"key": "hello-world",
"name": {
"value": "Greeting"
}
}
]
}
}
Please help me. I would be very thankfull if you point me where to look and debug.