Hi, new to Jira Automation and can't figure out why my latest rule isn't working. I'm trying to get a count of issues with a given status linked to my issue. My rule is:
If I search using the JQL manually then I get the correct count, but the rule above always returns 0 for {{lookupIssues.size}}.
I'm hoping that I'm missing something obvious. Any help gratefully received!
Hello @Matt
In your Lookup you have specified a project.
What is the project scope specified on the Rule Details page?
The Lookup action will be limited to retrieving issues that are in the projects specified in the rule's project scope.
If the project scope is a single project and that project is not CONTROL (the project in the JQL) then those issues cannot be retrieved.
Is that the same project as the trigger issue? If the trigger issue is in a different project then you will need to use a rule scoped for multiple projects.
Only Jira Administrators can manage rules scoped for multiple projects. That is done from the System / Global Automation page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matt
Please post an image of the audit log details showing the rule execution, with all the areas at the right side expanded, to provide context for what happened when the rule executed. 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.
Hi @Bill Sheboy, many thanks for responding and for the useful hint about supplying full details in future tickets (newbie error by me!). Thanks again, much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.