I am wondering if the JQL supports a WHERE-like clause as in the SQL.
E.g. I want to search for all the bugs whose EPIC link is in the result of another search. Could I write something like:
issuetype = Bug AND "EPIC Link" in (<<another search query>>)