Errorception と統合する
この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。

統合でできるようになること
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 統合を追加する
Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings
(gear icon) > Products
(under JIRA SETTINGS) > OPERATIONS
, you need to be either on Premium or Enterprise.
統合をチームの運用ページから追加すると、そのチームが統合の所有者になります。つまり、Jira Service Management は、この統合を通じて受信したアラートをチームにのみ割り当てます。
Jira Service Management で Errorception 統合を追加するには、次の手順を実行します。
チームのオペレーション ページに移動します。
左側のナビゲーション パネルで、[統合]、[統合を追加] の順に選択します。
検索を実行して「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"
}
この内容はお役に立ちましたか?