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 JIRAjira_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
It looks like you're new here. Sign in or register to get started.