I am using Jira cloud and thus I couldn't get the REST API Browser add on to develop my query.
I had created another question, but it was flagged as SPAM because I tried to insert the original answer I found here to bestow credit where credit is due.
I have found on google the following very nice jql that returns all the epics from a given project.
I'm doing a trial and error approach to get something like the JSON structure bellow, my current iteration is:
issues : [
Thanks in advance
You can actually get epics, stories and issues in one Rest Api Call to /jira/rest/api/2/search. Then you can work on the received json and get all data you need. Sprint is just a cutsom field. Epic Link is also a custom field. Stories connected to issues by links. You can get all the information from the return JSON and process it.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs