Automation basics
Understand the general concepts and best practices of automation in Atlassian cloud products.
To manage project automations, you must have the appropriate project permissions:
Company-managed projects: You’ll need the Administer projects and Browse projects permissions for your project. Learn more about permissions for company-managed projects
Team-managed projects: You’ll need Administrator access for your project. Learn more about permissions for team-managed projects
To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.
Go to Automation and select Create rule.
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.
Select Connect to create a connection with New Relic. Connections allow your automation rules to fetch data from other tools and products.
Enter the required information to create your connection with 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.
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.
Was this helpful?