Hi @Adam Abela - over to the right of this post are some related posts, some of which contain great starting points to answer your question. (I kind of wish the software that runs this site would surface those *BEFORE* people post.)
At any rate, these ones look good:
But yeah, there's an official Atlassian document with an example of how to do this for ONE Lookup query:
I think the difficulty you may run into is being able to process MULTIPLE Lookup queries, because there is only ONE {{#lookupIssues}} Smart Value.
However it looks like this might be possible by assigning that as a value in a Lookup Table, as described by the venerable @Bill Sheboy here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.