3

我想显示 JIRA 详细信息,例如问题标题、版本路线图以及 Confluence 站点中项目的问题提出/解决的图表。这对于登录的人来说很好,但我也需要它来进行匿名访问。我不想在 JIRA 中为项目设置匿名访问,因为它在评论等中包含其他详细信息。

就在两者之间设置应用程序链接而言,我已经按照我能找到的所有内容进行操作,如果我在应用程序链接的“基本访问”选项卡中输入帐户,则可以显示问题。

使用浏览器中的开发人员工具,当 Confluence 页面上的小工具尝试发出请求时,我可以看到 OAuth 错误。

Confluence 在查询 JIRA 时是否可以模拟其他用户?

4

1 回答 1

2

Seems to me that you want to do something impossible. As I understand it, there are the following options for using JIRA content inside Confluence:

  • Use the authenticated user of Confluence in JIRA.
  • Use an anonymous user for public issues in JIRA.
  • Use a pre-determined user (not recommended): This will show in public the user name and password in Confluence.

So you have the following options:

  • Use issue security in JIRA, and set the comments in your issues only be available for a special group.
  • Ensure that the users you want to get access to are not contained in the special group.

See the documentation about "Trusted Communication", especially the following part:

Display the JIRA issues which the logged-in user is authorised to see. And if the user is not logged in, display only issues which allow unrestricted viewing.

于 2012-03-11T10:41:42.883 回答