Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I need to extract list Epics belongs to the Project using rest API. How to achieve this.

prateep attada
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2018

I need to extract list Epics belongs to the Project using rest API. How to achieve this.

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2018

Hi Prateep,

Here's the JQL you'd use to find all epics in a project:

issuetype = Epic AND project = PROJKEY

So to extend this out to a REST API call, you can use the search endpoint:

https://jira.yourdomain.com/rest/api/2/search?jql=issuetype = Epic AND project = PROJKEY

Don't forget to swap in your own URL and project key! :)

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer