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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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