How to get list of all epics in the given project?

The easiest way would be to do jql search “project = ABC AND issuetype = Epic” however it fails if the issue type is renamed (as it is for one of our customers).

Any other ideas?

Have you tried using the issuetype id instead of the name?

Like this:

project = ABC AND issuetype = 10004 

That should work even if it’s renamed.

1 Like

Numeric issuetype is also non-standard, in this particular case id is 10000.

Any other ideas?

I’m afraid I’m all out of ideas.

Unless you can let the user select which issuetype represents the Epics in their project on your app setting page?

1 Like

worked for me. thanks.

Instead of

use

project = ABC AND issuetype = "Epic"

or whatever the name of the issue type you are searching for.

1 Like

genius . Worked for me. Thanks.

how can you do this via the API?