Jira 自動化で New Relic を使用する
はじめる前に
Jira スペースの自動化を管理するには、次のような適切なスペース権限が必要です。
Company-managed spaces: You’ll need the Administer space and Browse space permissions for your space. Learn more about permissions for company-managed spaces
Team-managed spaces: You’ll need Administrator app access for your space. Learn more about permissions for team-managed spaces
To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.
自動化ルールを New Relic と統合する
[自動化] に移動して [ルールを作成] を選択します。
Select the New Relic action for your rule. Run a query in New Relic is the only available action at the moment, which runs a query using NRQL in your New Relic account.
3. [接続] を選択して、New Relic との接続を作成します。接続すると、自動化ルールによって他のツールや製品からデータを取得できるようになります。
4. New Relic との接続を作成するために必要な以下の情報を入力します。
キー名。識別を容易にするための、Jira Automation のキーの名前を入力します。
User key. Enter a user API key of your New Relic account. Read more about New Relic User API Keys
サーバー。New Relic で使用するサーバーを選択します。
5. [接続] を選択して接続の作成を完了します。
If your user API key has been compromised or needs to be updated, you can rotate your API key in New Relic. You’ll need to update Automation connections with the new user key, or else the rule will fail to execute. Read how to rotate user key in New Relic
このアクションは、応答の待機をサポートします (Enterprise プランのみ)。
New Relic の場合、このオプションは既定で有効になっているため、New Relic が 15 分以内に成功の応答を返した場合にのみルールが再開されます。それ以外の場合、ルールは失敗します。Enterprise プランの場合、この設定をオフにできます。
障害応答の場合でもルールを再開するように設定できます。つまり、New Relic が 15 分以内に障害応答を返した場合でも、ルールは再開されます。
New Relic からペイロードにアクセスするには、{{newRelicQuery.results}} スマート値を使用します。
この内容はお役に立ちましたか?