Hello! I am using JIRA Cloud.
Let's say I have two issuetypes: X and Y.
And let's say there are different possible relationships between issuetypes X and Y.
For example: related to, is blocked by, and so on.
I wanna
1. Find all issues of type X that have related to issues of type Y, where every related issue is in status Done
2. Find all issues of type X that have related to issues of type Y, where at least one related issue is in status Done?
How can I achieve that? Looking for exact solution if possible.
Thanks in advance!