Is there a JQL that will give me a list of issues that are grandchildren (and therefore have grandparents) ?
For example, if:
1) prj-A has a parent prj-B (B is the "Master bug id" of A) and prj-B has parent prj-C (C is the "Master bug id" of 
2) prj-X has a parent prj-Y (Y is the "Master bug id" of X) and prj-Y has parent prj-Z (Z is the "Master bug id" of Y)
i would like the jql to return prj-A and prj-X