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

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 Leaders.
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.


Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events