Errorception と統合する

統合でできるようになること
Jira Service Management は、Errorception との Webhook 統合を提供します。この統合を使用して、Errorception インシデントを詳細情報とともに Jira Service Management API に送信します。Jira Service Management は Errorception アラートのディスパッチャーとして機能し、オンコール スケジュールに基づいて通知する適切な担当者を決定します。メール、テキスト メッセージ (SMS)、電話、iOS や Android のプッシュ通知による通知を行い、アラートが承認またはクローズされるまでアラートをエスカレーションします。
統合による機能
Errorception でアラートが作成されると、統合を通じて Jira Service Management でもアラートが自動で作成されます。
統合をセットアップする
Errorception は API ベースの統合です。設定は次の手順で行います。
Jira Service Management で Errorception 統合を追加する
Errorception で統合を設定する
Errorception 統合を追加する
The following capabilities are available in Jira Service Management Premium and Enterprise:
双方向の統合
Outgoing integrations at the team level
Integrations at a site level through Settings (icon) > Products (under Jira settings) > Operations
To access Jira Service Management Premium features, you must subscribe to a Service Collection Premium or Enterprise plan.
Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.
Jira Service Management で Errorception 統合を追加するには、次の手順を実行します。
Next to Operations in the sidebar, select More actions (), then General configuration.
Select Integrations and then Add integration.
検索を実行して「Errorception」を選択します。
次の画面で、統合の名前を入力します。
オプション: 特定のチームが統合からのアラートを受信するようにする場合は、[Assignee team (担当者チーム)] のチームを選択します。
[Continue] を選択します。
この時点で、統合が保存されます。「統合を設定する手順」セクションを展開し、Webhook URL をコピーします。
この URL は、後ほど Errorception で統合を設定する際に使用します。[統合をオンにする] を選択します。
統合のために作成したルールは、統合をオンにした場合にのみ機能します。
Errorception で統合を設定する
Errorception で [プロジェクト設定] ページに移動します。
[サービス Webhooks] > [WebHooks] の順に選択します。
さきほど Jira Service Management からコピーした URL を [Webhook URL] に貼り付けます。
必ず [アクティブ] を選択します。
[保存] を選択します。
アラート プロパティは、Jira Service Management の Errorception 統合ページでさらに定義できます。
Errorception から送信されるペイロードの例
(JSON 形式)
{
"isInline": true,
"message": "Uncaught RefereceError: leJohn is not defined",
"userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36",
"when": "before",
"scriptPath": "skriptPeth",
"page": "http://localhost:8080/integration/index/?state=4",
"date": "2014-10-14T08:43:04.029Z",
"isFirstOccurrence": true,
"webUrl": "http://errorception.com/projects/543ce00c69c1935122000029/errors/543ce218bfb6f76cbe96ff4b",
"apiUrl": "https://api.errorception.com/projects/543ce00c69c1935122000029/errors/543ce218bfb6f76cbe96ff4b"
}
この内容はお役に立ちましたか?