Jira Automation を New Relic で使用する

はじめる前に

プロジェクトの自動化を管理するには、次のような適切なプロジェクト権限が必要です。

To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.

自動化ルールを New Relic と統合する

  1. Go to Automation and select Create rule.

  2. 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.

New Relic のアカウント ID

3. Select Connect to create a connection with New Relic. Connections allow your automation rules to fetch data from other tools and products.

New Relic でクエリを実行する

4. New Relic との接続を作成するために必要な以下の情報を入力します。

  • Key name. Enter a name for your key in Jira automation to identify it easily.

  • User key. Enter a user API key of your New Relic account. Read more about New Relic User API Keys

  • Server. Select the server you use in New Relic.

ユーザー API キーを入力

5. Select Connect to complete creating your connection.

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

 

このアクションは応答待ちをサポートします

New Relic では、このオプションは既定で有効になっているため、New Relic が 15 分以内に正常な応答を返した場合にのみルールが再開されます。それ以外の場合、ルールは失敗します。Premium プランまたは Enterprise プランを利用している場合は、設定をオフにすることができます。

障害応答の場合でもルールを再開するように設定できます。つまり、New Relic が 15 分以内に障害応答を返した場合でも、ルールは再開されます。

New Relic からペイロードにアクセスするには、{{newRelicQuery.results}} スマート値を使用します。

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

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