For an automation rule, I have as my first component, an If JQL Condition query which returns a couple hundred issues that have story points.
Then I have a component that creates a variable called TotalStoryPoints from this smart value: {{lookupIssues.Story Points.sum}}
Then I have a component that logs the variable TotalStoryPoints to the log
When I run the rule, TotalStoryPoints is empty when I look in the audit log.
Why does it not total up the story points for the issues from the JQL Query?
The {{lookupIssues}} smart value is populated only by the Lookup Issues action. If you have not used that action, the smart value is empty.
Do note that the Lookup Issue action is limited to returning only 100 issues.
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues
The CONDITION If JQL Matches does not return a list that you can act upon. It is meant to check if an issue you already have in hand matches the conditions specified in the JQL.
That worked! Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Cash Coyne
This seems the same/similar to the other question you recently posted here: https://community.atlassian.com/t5/Jira-questions/In-Jira-Automation-how-can-I-do-a-branch-and-then-come-back-to/qaq-p/2338351
I recommend posting images of your complete automation rule and the audit log details showing the rule execution. That will provide context for the symptoms you describe and help the community to offer ideas. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.