This the jql query I have, this shows all the canceled initiatives but also want to display the initiatives that are in progress that have a sub task canceled but not show the canceled subtask just the initiative in progress with the canceled subtask.
project in (A,
and issuetype in (A-Initiative, "B Initiative") and status in (Canceled)