I'm looking for guidance from the Rovo Studio community on implementing numeric aggregation using instruction prompts.
My agent successfully retrieves Jira issues using JQL, and the issue count consistently matches the Jira Board. However, aggregating Story Points (SUM) is unreliable—the total is intermittently incorrect even though all records appear to be returned.
I've tried explicit instructions to iterate through every record, maintain a running total, validate processed records, and reconcile with the board, but the results are still inconsistent.
Has anyone successfully implemented reliable aggregation (SUM, AVG, COUNT, etc.) using instruction prompts alone? Or is this a current limitation that requires a different approach or tool? Any best practices or examples would be greatly appreciated.
Thanks,
Ranvijay Singh