Excel opens ticket in new tab not logged in
プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
Clicking in a hyperlink to a ticket in Excel opens a new browser tab not logged in.
環境
Jira with SAML enabled
原因
As mentioned on this page this behavior happens because Excel sends an initial HEAD request to Jira to validate the URL actually exists and then the actual GET request.
This duplicate requests cause the SAML authentication to fail for the HEAD request, opening two separate tabs.
ソリューション
Create a rule on your load balancer to send an empty 200 response for any message with a user-agent containing "ms-office". This will tell Excel that the URL is valid and will only open the expected successfully authenticated tab in the browser.
if ( $http_user_agent ~ 'ms-office') {
return 200 '';
}