can someone please help with the query so that I can get Epics. Below is the query that I am using as of now. It gives me issues with all issue types but Epic:
project = XXX AND (component = ABC OR Team = 111) AND issuetype in (Epic, Bug, Task, Story, Spike, Sub-task) ORDER BY Rank ASC