Get Story of Epic with API REST

Retwas July 17, 2019

Hello

I have a Epic with key PARE3-983

I get infos about it with link API :
https://myjira.xx/rest/api/2/search?jql=issue=PARE3-983

How can I get all the Story of this Epic ? On each Story we have the field "Epic link", so I think it's possible ? Same to get Epic from a Initiative. 

May be it exist a field "parent" ? 

I'm not admin of Jira, and I can't create any custom_field or whatever

Thanks

 

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2019

Hello,

You would need to execute the same rest api with a query like this:

epic = PARE3-983

You will get all stories of the PARE3-983 epic.

Retwas July 17, 2019

When I change issue= by epic= I got a error message

{"errorMessages":["Field 'epic' dont exists."],"errors":{}}
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2019

Could you try like this:

"Epic Link" = PARE3-983

Suggest an answer

Log in or Sign up to answer