• 使用を開始する
  • 関連ドキュメント

End of sales and support for Opsgenie

Atlassian will discontinue new sales of Opsgenie on June 4, 2025 and end support for Opsgenie on April 5, 2027. Read the full announcement and learn about next-generation incident response options via Jira Service Management and Compass.

Opsgenie を Salesforce Service Cloud と統合する

Salesforce ロゴ

Opsgenie が Salesforce Service Cloud ユーザーに提供するもの

統合を使用して、詳細情報とともに Salesforce Service Cloud のケースを Opsgenie に送信します。OpsgenieSalesforce Service Cloud のケースのディスパッチャーとして機能して、オンコールスケジュールに基づいて通知する適切な担当者を決定します。メール、テキストメッセージ (SMS)、電話、iOS、Android のプッシュ通知によって通知し、アラートが承認されるかクローズされるまでアラートをエスカレートします。

このドキュメントでは、統合を設定する方法と OpsgenieSalesforce Service Cloud から受信するデータの詳細について説明します。

統合の機能性

  • ケースが Salesforce Service Cloud によって作成されると、アラートが Opsgenie で作成されます。

  • When the case's state is changed to Working in Salesforce Service Cloud, the corresponding alert is acknowledged in Opsgenie.

  • When the case's state is changed to Closed in Salesforce Service Cloud, the corresponding alert is closed in Opsgenie.

  • If Send Alert Updates Back to SalesForce Service Cloud is enabled, actions for Salesforce Service Cloud are executed in Salesforce Service Cloud when the chosen action is executed in Opsgenie for alerts which are created by the Salesforce Service Cloud integration.

  • このアクション マッピング機能の詳細については、以下の「アクション マッピング機能」セクションで説明します。

Opsgenie で Salesforce Service Cloud 統合を追加する

この統合は、Opsgenie の Standard プランと Enterprise プラン、および Jira Service Management の Premium プランと Enterprise プランでのみ利用できます。

統合をチーム ダッシュボードから追加すると、そのチーム統合の所有者になります。Opsgenie では、この統合を通じて受信したアラートはそのチームのみに割り当てられます。このセクションの残りの手順に従って、統合を設定してください。

  1. Go to Settings > Integrations. Search for Salesforce Service Cloud and select Add.

  2. Specify who is notified of Salesforce Service Cloud alerts using the Responders field. Auto-complete suggestions are provided as you type.

  3. Opsgenie エンドポイントと API キーを含む統合 URL をコピーします。

  4. [Save Integration (統合の保存)] を選択します。

Salesforce Service Cloud での設定

  1. Download the opsgenieClass.apxc file.

  2. In Salesforce Service Cloud, click the Settings icon and click the Developer Console.

  3. 開発者コンソール ページで [ファイル] を選択し、[ 新規 → Apex クラス] をクリックして、opsgenieClass.apxc をコピーします。次に、[保存] をクリックします。

  4. Download the opsgenieTrigger.apxt file.

  5. 開発者コンソール ページで、[ファイル] を選択します。

  6. [新規作成 → Apex トリガー] をクリックし、opsgenieTrigger.apx を貼り付けます。次に、コピー済みの API URL をトリガー関数のエンドポイント フィールドに貼り付けます。

  7. [保存] をクリックします。

Salesforce Service Cloud Apex トリガー

8. Salesforce ページに戻り、設定から [セットアップ] を選択し、[設定 -> セキュリティ -> リモート サイトの設定] ページに移動します。

9. 新しいリモート サイトを追加します。「Opsgenie」という名前を付け、コピー済みの URL を [リモート サイト URL] フィールドに貼り付けます。

10. [保存] をクリックします。

Salesforce Service Cloud のリモート サイト設定

アクション マッピング機能

  • Opsgenie では、OpsgenieSalesforce Service Cloud の各アクション間のアクション マッピングを定義できます。

Salesforce Service Cloud によって作成されたアラートの場合

  • このセクションを使用して、アラートのソースが Salesforce Service Cloud である場合に Opsgenie アクションを Salesforce Service Cloud アクションにマッピングします (つまり、アラートが Salesforce Service Cloud 統合によって作成された場合)。

  • Map different Opsgenie actions to different Salesforce Service Cloud actions. For example, set case status to Working in Salesforce Service Cloud, when the alert is acknowledged. In order to do this, define If alert is acknowledged in Opsgenieset case's status to Working in Salesforce Service Cloud. mapping in Send Alert Updates Back to Salesforce Service Cloud section.

Opsgenie から Salesforce へのアラート
  • アラートにタグが追加され、他のアクションとは異なるアラート アクションに対してカスタム アクションが実行されます。これらのアクションのいずれかを選択すると、このマッピングが機能するタグまたはカスタム アクションを入力するための追加のフィールドが表示されます。

  • タグをカンマで区切って、複数のタグを入力します。複数のタグを入力した場合、マッピングは、指定されたタグが 1 つ以上アラートにある場合に機能します。タグのフィールドを空のままにすると、どのタグでもマッピングが機能します。

  • If an Opsgenie action is mapped to multiple Salesforce Service Cloud actions, an error occurs except for the a tag is added to the alert and a custom action is executed on alert actions. Save multiple mappings for these actions because they differ by the given tags and the given custom action names.

Salesforce Service Cloud タグ

Opsgenie のその他のアラートの場合

  • このセクションを使用して、アラートのソースが Salesforce でない場合に、Opsgenie のアクションを Salesforce のアクションにマッピングします (つまり、アラートが別の統合によって作成された場合)。

  • このために、Opsgenie アラートの Salesforce 課題の作成セクションを使用します。この機能を使用するには、1 つの Opsgenie アクションを課題の作成 Salesforce アクションにマッピングします。Opsgenie アクションでは、アラートが作成される必要はなく、他のアクションにすることもできます。

  • アラートにタグが追加されるアクションとアラートでカスタム アクションが実行されるアクションは他のアクションと異なります。これらのアクションのいずれかを選択すると、このマッピングが機能するタグまたはカスタム アクションを入力するための追加のフィールドが表示されます。

  • タグをカンマで区切って、複数のタグを入力します。複数のタグを入力した場合、マッピングは、指定されたタグが 1 つ以上アラートにある場合に機能します。タグのフィールドを空のままにすると、どのタグでもマッピングが機能します。

  • Opsgenie アクションが複数の Salesforce Service Cloud アクションにマッピングされている場合は、アラートにタグが追加されるアクションとアラートでカスタム アクションが実行されるアクションを除いて、エラーが発生します。マッピングが特定のタグとカスタム アクション名によって異なるため、これらのアクションに対する複数のマッピングを保存します。

統合の転送機能を使用するには、ケース オブジェクトの「opsgenie-alias」としてカスタム フィールドを作成する必要があります。これを設定しないと、Salesforce 側でケースを作成できません。

Opsgenie アラートでアクションが実行された際に Salesforce Service CloudSalesforce Service Cloud のケースをアップデートするには、IP を Salesforce Service Cloud インスタンスに追加する必要がある場合があります。[許可リストに登録済み] に登録された IP リストに追加するために正しい IP アドレスを確認する必要がある場合は、お問い合わせください。

If you do not have access to your client Id and client secret. You need to create a new Connected App from Setup->Apps->App Manager. Do not forget to enable OAuth settings before saving it. You can give any URL to callback URL. After saving it, you will get id and key.

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

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