how can I get jira story under the epics by python jira
Hi @Yuuki
Welcome to the Community!
To retrieve Jira stories that belong to a specific epic using Python, you can use the jira Python library. Here are the steps;
pip install jira
from jira import JIRA
jira_url = 'https://url-to-your-jira-instance'
jira_username = 'username'
jira_password = 'password'
jira = JIRA(jira_url, basic_auth=(jira_username, jira_password))
epic_key = 'ABC-123'
jql = f'"Epic Link" = {epic_key}'
issues = jira.search_issues(jql, maxResults=False)
for issue in issues:
print(f'Key: {issue.key} - Summary: {issue.fields.summary}')
I hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.