The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Need help in listing issues associated with an epic in jira

Krishnadhas N K
June 16, 2024

i am writing an automation. for the purpose i need to pull the list of issues associated with the specific epic.

i tried atlassian python api as well as jira cloud rest api. i couldnt get a proper answer even from the web. can someone share me enough detail so i can proceed

I tried both 


 

# Issues within an Epic
jira.epic_issues(epic_key)

 

jira.get_issues_for_epic(board_id, epic_id)



refernce: 

 

Jira module — Atlassian Python API 3.41.14 documentation (atlassian-python-api.readthedocs.io)

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
John Funk
Community Champion
June 16, 2024

Hi @Krishnadhas N K 

I don't know about the API part, but a simple JQL should do the trick:

parent = ABC-123 

where ABC-123 is the key of the Epic. 

Bill Sheboy
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 Champions.
June 16, 2024

Hi @Krishnadhas N K 

Yes, and...to John's suggestion, you may use this REST API function with the JQL:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get

Please see the details for managing the returned issues, fields, etc.

Kind regards,
Bill

Like John Funk likes this
0 votes
Krishnadhas N K
June 17, 2024

Thanks for the suggestions. These Really helped out.


DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events