Forums

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

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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events