Automation For Jira - How to collect data to troubleshoot throttled Automation Rules
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Project Automation Rules are "throttled" and not running in Jira.
This article helps identify which Service Limit was reached.
Solution
Screenshots
Collect screenshot showing the rule receiving the throttled message at the Automation > Click the 3 dots "..." > Audit log
Collect ScreenShot showing the Performance insights graphs:
Automation > Click the 3 dots "..." > Select View Performance Insights
At the top, select 1w, so we can observe the limits used during a full week
Take screenshots changing the multiple options at the select box (Execution count, Average duration, Total duration) for the rule "When an intake form is requested, send email"
REST API endpoints output
Call the following REST API endpoint to collect the actual Service Limits:
https://YOUR_JIRA_INSTANCE_URL/rest/cb-automation/latest/configuration/property
Database queries
There are some SQL queries we can run to find check how the parameters are going in Jira. Replace the date with the day when the throttled occurred:
Postgres
Processing time per day
|
Processing time per rule per day
|
Items queues globally - Queued Daily Items
|
Queued Daily Items by Rule
|
MySQL
Processing time per day
|
Processing time per rule per day
|
Items queues globally - Queued Daily Items
|
Queued Daily Items by Rule
|
Warning
All queries above are examples built for Postgres and MySQL syntax. You may need to edit them to work on your specific database.
Sending data to Atlassian Support
Attach the following data to your Support ticket:
Screenshots from the Automation audit log;
Screenshots from the Performance insights graphs
The output of the REST API call
The queries results
Was this helpful?