Use Jira Automation with New Relic

Before you begin

To manage project automations, you must have the appropriate project permissions:

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

Integrate your automation rule with 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.

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

  4. Enter the required information to create your connection with New Relic:

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

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

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

  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

 

This action supports waiting for response

For New Relic, this option is enabled by default, so the rule will resume only if New Relic returns a success response within 15 minutes. Else, the rule will fail. If you’re on the Premium or Enterprise pla, the setting can be turned off.

You can choose to resume the rule even on failure response, which means even if New Relic returns a failure response within 15 minutes, the rule will resume anyway.

To access the payload from New Relic, you can use the {{newRelicQuery.results}} smart value.

Still need help?

The Atlassian Community is here for you.