【发布时间】:2017-10-01 12:03:13
【问题描述】:
我正在评估 atlassian-connect-express 并刚刚创建了一个应用 带有“atlassian-connect new”的样板,然后通过 ngrok 部署它 到我的 Jira 开发帐户。
这很好,但是当我尝试使用文件“credentials.json”时 我的帐户数据,插件以错误消息开头:
注册主机失败 https://michael%40...:[我的 密码]@connect-ace.atlassian.net (401)
插件未注册;未检测到兼容主机
当我访问 url connect-ace.atlassian.net 时收到类似的消息
这是我的 atlassian-connect.json
{
"key": "my-add-on",
"name": "Ping Pong",
"description": "My very first add-on",
"vendor": {
"name": "Angry Nerds",
"url": "https://www.atlassian.com/angrynerds"
},
"baseUrl": "https://xxxxxxx.ngrok.io",
"links": {
"self": "https://xxxxxxxx.ngrok.io/atlassian-connect.json",
"homepage": "https://xxxxxxx.ngrok.io/atlassian-connect.json"
},
"authentication": {
"type": "jwt"
},
"lifecycle": {
"installed": "/installed"
},
"scopes": [
"READ"
],
"modules": {
"generalPages": [
{
"key": "hello-world-page-jira",
"location": "system.top.navigation.bar",
"name": {
"value": "Hello World"
},
"url": "/hello-world",
"conditions": [{
"condition": "user_is_logged_in"
}]
},
{
"key": "hello-world-page-confluence",
"location": "system.header/left",
"name": {
"value": "Hello World"
},
"url": "/hello-world",
"conditions": [{
"condition": "user_is_logged_in"
}]
}
]
}
}
还有我的 credatials.json
{
"hosts": {
"connect-ace.atlassian.net": {
"product": "jira",
"username": "michael@---",
"password": "---password---"
}
}
}
如何让我的开发帐户使用 connect-ace?
【问题讨论】:
-
你用了什么密码?密码应该是通过他们的 ID 平台创建的 API 令牌。