我正在尝试开发一个插件 voor JIRA OnDemand。我已经安装了 Atlassian SDK 并且能够创建一些问题和项目等。
当我尝试上传插件描述符(“atlassian-connect.json”)时,JIRA 告诉我无法安装插件。似乎没有正确安装 Atlassion Connect。
日志输出如下。
有小费吗?
com.atlassian.upm.spi.PluginInstallException: This add-on cannot be installed without the Atlassian Connect framework. See our <a href="https://confluence.atlassian.com/x/IYHLEg" target="_blank">documentation</a> for more information.
at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:118)
at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:84)
at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:93)
at com.atlassian.upm.core.rest.resources.install.InstallTask.installFromFile(InstallTask.java:123)
at com.atlassian.upm.core.rest.resources.install.InstallFromUriTask.executeTask(InstallFromUriTask.java:87)
at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:58)
at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:33)
at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:77)
at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:72)
at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
我的描述符:
{
"authentication": {
"type": "jwt"
},
"baseURL": "https://localhost/",
"key": "eu.take-a-byte.synctool",
"apiVersion": "1",
"version": "1.0",
"description": "Tool to syncronize JIRA activity with Toggl",
"name": "JIRA/Toggl Sync Tool",
"modules":
{
"webPanels": [
{
"url": "/ui",
"weight": 100,
"location": "atl.jira.view.issue.right.context",
"key": "toggl-component",
"name": {
"value": "Toggl"
}
}
],
"webhooks": [{
"event": "jira:issue_created",
"url": "/issue-created"
},
{
"event": "jira:issue_updated",
"url": "/issue-updated"
}
]
},
"vendor": {
"name": "Take A Byte",
"url": "http://www.take-a-byte.eu"
},
"lifecycle": {
"installed": "/installed",
"uninstalled": "/uninstalled",
"enabled": "/enabled",
"disabled": "/disabled"
}
}
Atlassian SDK 版本:
ATLAS Version: 5.0.3
ATLAS Home: C:\Users\Rick_2\atlassian-plugin-sdk
ATLAS Scripts: C:\Users\Rick_2\atlassian-plugin-sdk\bin
ATLAS Maven Home: C:\Users\Rick_2\atlassian-plugin-sdk\apache-maven-3.2.1
--------
Executing: "C:\Users\Rick_2\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\Rick_2\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
Maven home: C:\Users\Rick_2\atlassian-plugin-sdk\apache-maven-3.2.1\bin\..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: nl_NL, platform encoding: Cp1252
OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"