詳細設定を使用する
この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。
詳細統合設定で、アラートを最大限にカスタマイズできます。システムによるアラートの作成、クローズ アクションの実行、アラートの自動承認、またはメモの追加のタイミングを定義できます。また、Webhook データから内容を解析してその解析を動的に利用し、アラート・コンテンツを生成できます。ルールはトップダウンの順序で実行されます。最初に一致したルールが最初に実行され、それ以降のルールの評価は停止します。アクション ([無視]、[アラートを作成]、[アラートをクローズ]、[メモを追加]) は、[ルールを追加] ダイアログにあります。
The alert rules are responsible for processing the actions. Every time data lands on the endpoint (or email box), these rules are matched to the data in top-down order. Each of these rules has a filters section. The first rule matching your alert (with a top-down order) executes the action associated with it. The Alert properties section provides the details of that action. Your alert is created according to the template captured in the Alert properties section.
統合は実際のアラートで最も良く機能します。新しい統合のセットアップ時は、サードパーティ・ツールにおけるテスト機能の使用を避けることをお勧めします。
アクション処理
The advanced settings consist of many different alert scenarios. These scenarios are called “actions” and specify how and when alerts can be created, closed, or acknowledged. Jira Service Management provides default actions for every integration. You can customize them and add as many actions as you like. You can, for example, have three Create Alert actions, which means the webhook data that comes to Jira Service Management will be evaluated against these three scenarios in order; and if one of them has a match, a new alert will be created. Read more about integration actions.
アラート フィルター
各アクションにはフィルター・セクションが用意されています。Jira Service Management は、統合に関連するすべての受信データを処理して、それらを統合の実行アクションと照らし合わせて評価します。
Remember that integration actions have a processing order, and at most, one action can be executed by a single request. If for the first action's condition set, the alert filter doesn’t match the incoming payload, Jira Service Management moves on to the next action in line and evaluates its filter. If an action's filter matches the data, Jira Service Management executes that action and ends the processing for that particular webhook. If no matching action is found, nothing happens. Pre-canned integration has a list of preset filter options - the most common ones are available, tailored to the integration you selected. Read more about alert filters. Find out which regular expressions you may use to customize and filter alerts.
アラート プロパティ
アクションは、[アラート・プロパティ] セクションでキャプチャしたテンプレートと設定に従って実行されます。条件一致タイプが [すべてのアラート: 使用条件なし] に設定されており、受信データの [アクション] が [作成]、[Source Type Name (ソース・タイプ名)] が [Monitor Alert (アラートを監視)] の場合は、設定したアラート・プロパティに従って Jira Service Management アラートが作成され、処理はそこで終了します。
On the right side, you see dynamic properties (blue boxes), and you see them captured in some of the default alert properties (those inside the curly brackets). Using these, Jira Service Management parses your data to construct rich and informative alerts. You can use dynamic properties to customize alert properties, automatically parsing out a variable from the payload every time you create an alert according to the alert properties you set. If you don't need the whole variable and need only a part of the data, like a certain part of an email subject for instance, you can use one of the string processing methods.
この内容はお役に立ちましたか?