アラートをサービスおよびソフトウェア プロジェクトと同期する
この記事では、Jira Service Management Cloud の一部のお客様に段階的に展開されている、Jira Service Management でネイティブに利用できる新しいアラート機能を取り上げています。ご利用のサイトにはまだ表示されていないか、利用できない可能性があります。
同期は、Jira Service Management の Standard プランと Premium プランのチーム レベルでのみ、および Premium プランのサイト レベルでのみ利用できます。
Create a sync
オンコール チームまたは Jira サイトの「同期」ページで、[同期を作成] を選択します。
統合に関する重要な詳細を次のように入力します。
プロジェクトの Jira サイトを選択:同じ Jira サイトまたは別の Jira サイトにあるプロジェクトを選択できます。
名前:あとで簡単に見つけられるように、同期に名前を付けます。
担当チーム:この同期を担当するチームを選択できます。これはオプションなので、担当チームの選択をスキップすることも可能です。
Project: Select the project on the current site (a Jira or Jira Service Management project) you want to use for this sync. Once the sync is created, you can only change to another project of the same type. For example, a sync created for a software project can’t be switched to a service project later on.
Project type: Select the type of the project on the different site (a Jira or Jira Service Managementproject) you want to use for this sync.
通知をオフ:この同期によって作成されたアラートの通知をミュートしたい場合は、このオプションを選択します。通知をオフにしている場合は、通知を受信しません。
[続行] を選択して同期を保存します。
同期は既定でオフになっています。準備ができたら、[同期をオンにする] を選択して続行するか、[閉じる] を選択して同期をオンにせずに終了します。
同期が保存されると、「同期」ページに表示されます。このページで [その他の操作] を選択すると、同期を直接管理できます。
同期を設定する
チームの好みに合わせて同期を設定するには、[同期設定] で [編集] を選択して、設定済みの同期の値を変更します。
アラートを作成/処理するルールを設定する
特定の条件に一致するアラートを作成または更新するためのルールを作成するには、[ルールを追加] を選択します。アラートの作成、アラートの承認、メモの追加、アラートのクローズを実行するルールを定義できます。同期を作成すると、いくつかのルールが既定で追加されます。
設定できるルールの数には、次の制限が適用されることに注意してください。
同じ Jira サイト上のプロジェクト間の同期
受信アクション: 最大 250 ルール
送信アクション: 最大 100 ルール
ルール グループ内での送信アクション: 最大 20 ルール
異なる Jira サイト上のプロジェクト間の同期
受信アクション: 最大 255 ルール
送信アクション: アクションあたり最大 1 ルール
名前:あとでわかりやすいようにルールに名前を付けます。
ルール タイプ:ルールの実行時に、このルールが実行するアクションを選択します。
アラート フィルター:アラート フィルターを追加して、ルールを実行するためにアラートが一致すべき条件を設定できます。
すべてのアラート:適用される条件が存在しないため、すべてのアラートによってこのルールが実行されます。こちらが既定の設定です。
任意の条件に一致するアラートのみ:1 つ以上の条件に一致するアラートがある場合にルールが実行されて、選択したアクションが実行されます。
すべての条件に一致するアラートのみ:すべての条件に一致するアラートがある場合にルールが実行されて、選択したアクションが実行されます。
アラート プロパティ:対応するアラートに追加する詳細を入力します。選択したアクションが「無視」の場合は当てはまりません。
ルールをただちにオンにする場合は、[Turn on now(今すぐ有効)] > [追加] の順に選択して続行します。
[その他のアクション] で、ルールを編集、無効化、複製できます。
グループ内でルールをドラッグ & ドロップして、実行する順序を並べ替えられます。
Use webhook to update alerts against events from Jira work items
別の Jira サイトのプロジェクトとの同期を設定する場合、issue_created
や issue_updated
などの Jira イベントを受信するには、Webhook 経由で接続する必要があります。
In Jira, go to Settings, then System, then Webhooks.
Select Create a Webhook.
Copy the API given in the sync settings and paste it into URL.
Select the created and updated events under Work item and Comment.
[作成] を選択します。
アラートに対してアクションを実行するルールを設定する
Select Update work items against alerts created by this sync and Add rule to set up a rule that updates existing work items in your project based on alert events caused by this sync.
プロジェクト タイプ | ルールを実行するイベント | ルールによって実行されるアクション |
---|---|---|
ソフトウェア(Server) |
|
|
ソフトウェア(Cloud) |
|
|
サービス(Server) |
|
|
サービス(Cloud) |
|
|
Select Create and update work items against alerts created by integrations or other syncs and select Add rule to set up a rule that creates a work item based on alert events caused by integrations or other syncs.
Create work item when: Select the alert event that must create the work item.
Work item properties: Select the work type and the work item fields you wish to use in the new work item.
Select Add actions to define update actions to perform on the newly created work item based on alert events caused by this rule.
ルールをただちにオンにする場合は、[Turn on now(今すぐ有効)] > [追加] の順に選択して続行します。
[その他のアクション] で、ルールを編集、無効化、複製できます。
一部のフィールドはサポート対象外です
You may continue customizing, but we won't show some of the work item fields which are available in your Jira Service Management account. Following are the fields we're not showing at this time: Parent, Time tracking, Attachment, Linked work items, Affected services, Approver groups, Request Type, Request participants, Satisfaction, Organizations, Request language
送信認証をセットアップする
別の Jira サイトにあるプロジェクトと同期する際には、ルールがアラートに対してアクションを実行するために、Jira Edge Connector、Jira Service Management アカウント、またはその両方を使用して、送信認証をセットアップする必要があります。
[同期設定] で [編集] を選択します。「Authenticate for sending alert updates to service project(サービス プロジェクトにアラートの更新を送信するための認証)」セクションで、認証方法を選択します。
Jira Service Management アカウントで認証するには、次の情報を入力します。
プロジェクトの Jira サイト URL:
https://
またはhttp://
を含む Jira サイトの完全な URL を入力します。サービス プロジェクト キー:サービス プロジェクトまたはソフトウェア プロジェクトのキーを入力します。
Work type name: Enter the name of the work type you want to use to create your work item.
メール アドレス:Jira Service Management アカウントへのログインに使用するメール アドレスを入力します。
API トークン:Atlassian アカウント API トークンを入力します。ご利用の API トークンを表示するか、新しい API トークンの作成方法をご確認ください。
この内容はお役に立ちましたか?