I'm using python to query my JIRA board so display that data elsewhere. I'm able to display all the issues, but not their parent issues (if they have one). I believe I saw somewhere that this is a API permission issue, but I was unable to figure out how to give the API permissions to view parents issues. Right now, if I run these commands:
parent_link = issue.fields.customfield_10008
if parent_link:
print(f'{issue.key}: {issue.fields.summary} - Parent: {parent_link.key}')
else:
print(f'{issue.key}: {issue.fields.summary} - No Parent')
It returns all the issues and say they have "No Parent," even though some of them do. This is my first time using the JIRA API, so any help would be appreciated.