I'm trying to search for all Issues that are, or are children of, an Issue that has a CustomFieldNameHere = 'Blah'.
Example:
IssueKey = Issue-1, CustomFieldNameHere = Blah, IssueType=Initiative
IssueKey = Issue-2, CustomFieldNameHere = "", IssueType = Epic, LinkedTask = Issue-1
IssueKey = Issue-3, CustomFieldNameHere = Yadda, IssueType = Initiative
The JQL should return Issue-1, Issue-2, but not Issue-3.
I realize this is stretching JQL as it's used to searching the values of the items themselves, not the values of a Parent. I don't know if this matters, but the specific LinkType in this case is created by Portfolio.
We're on JIRA Server (insert latest version here).