我在哪里可以获得 JIRA API 密钥

where can I get JIRA API key

从哪里获得 API 密钥以在 Leverice 中创建 Jira 频道?我可以在 Leverice 的工作区内(在团队频道下)创建 Jira 频道。但是,它要求提供 Jira API 密钥。它是什么,我从哪里得到它?

要获得此令牌您必须拥有 Jira 的管理员权限

  1. 转到您的 Jira 网站
  2. 点击左下角的个人资料头像
  3. 单击个人资料
  4. 单击管理您的帐户
  5. Select 安全
  6. 向下滚动到 创建和管理 API 个令牌 并单击它
  7. 创建一个令牌,然后将其复制并粘贴回 Leverice 弹出框中。

您只需点击下方url即可获得API代币页面

https://id.atlassian.com/manage/api-tokens

对于 Atlassian 论坛上的自托管实例 this answer from Andy Heinzer 可能有帮助:

Jira Server does not provide those specific types of API tokens that can be used in basic auth, like Jira Cloud does. If you want to create a token in Jira Server (self-hosted) for use in REST calls, you need to create an OAuth token, which has an expectation of creating an application link as described in Jira Server Devleoper page on OAuth.

It is more setup and configuration for the use of a token in this case, but it a more secure method than basic auth is.

If you don't need this level of security, then you could follow the Jira Server basic auth steps in https://developer.atlassian.com/server/jira/platform/basic-authentication/