How to find out which Jira instance triggered a webhook

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

In environments with multiple Jira instances triggering webhooks on a target system, it's important to know which one has triggered the webhook.

ソリューション

The payload sent by Jira doesn't include a base URL attribute. However, it does include the actual base URL in each and  every self attribute value in the JSON. 

"issue": { "id": "10009", "self": "http://localhost:41313/j81313/rest/api/2/issue/10009", "key": "SCRUMMY-10", "fields": { "issuetype": { "self": "http://localhost:41313/j81313/rest/api/2/issuetype/10001", "id": "10001", "description": "Created by Jira Software - do not edit or delete. Issue type for a user story.", "iconUrl": "http://localhost:41313/j81313/images/icons/issuetypes/story.svg", "name": "Story", "subtask": false }, "timespent": null, "project": { "self": "http://localhost:41313/j81313/rest/api/2/project/10000",

In any self attribute, the string that comes before /rest is the base URL. 

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。