Issue Summary
Automation uses /rest/api/3/field API endpoint and it's extremely slow for certain large customers. This slowness is leading to over all execution time of the automation trigger and in turn throttling of service limit(daily processing limit).
Steps to Reproduce
- Setup a simple automation in large tenants(with high number of triggers/automations and issues) with trigger on comment/status change, with conditions to include check of issue type and action to send email/add comment.
- You'll notice that it's taking long duration for execution to complete(10sec+)
Expected Results
Simple automation triggers should complete execution in less than 3secs
Actual Results
Automation is taking long duration for execution to complete(10sec+) and some cases close to 20sec+
In the automation logs, /rest/api/3/field is taking 3sec just to fetch custom field details/values.
Workaround
No workaround at the moment
FYI - The fix to this issue introduced a regression in Automation for Jira. I can no longer reliably perform general condition checks on fields. I don't understand how Atlassian permitted this.
See: CES-24908
As a customer, I cannot invest $$$$ in writing these Automations, only to have Atlassian "change the rules" and break our implementation.