I'm encountering an issue where the reported execution time in the Jira Automation rule logs is significantly longer than the actual time the rule seems to take when observed manually. For instance, a rule that runs in a few seconds appears to log an execution time of over 20secs.
Has anyone else experienced this discrepancy, and are there best practices for accurately measuring automation performance?
I’m trying to update the priority scores for Jira tickets using an automation rule that follows these steps:
Check the total backlog count – the rule first retrieves the total number of tickets in the backlog.
Check how many tickets meet specific criteria – it filters for a subset of tickets based on certain conditions (e.g., label, status, etc.).
For each ticket, it evaluates whether the total backlog count is greater than 30.
If the backlog exceeds 30, the rule uses JQL to identify the ticket and updates its priority score with a boost.If the backlog is 30 or less, the rule still updates the priority score using the same JQL, but without the boost.
The goal is to dynamically adjust ticket priority based on current workload and specific qualifiers.