I have the code piece below and a function called parse_issuelinks
i keep getting TypeError: 'NoneType' object is not subscriptable when I call the function parse_issuelinks
parse_issuelinks(k['fields']['issuelinks']) + '\n'
def parse_issuelinks(issuelinks):
dependsOn = ''
for issue in issuelinks:
if issue['type']['name'] == 'Dep' and issue['type']['outward'] == 'dep'
if 'outwardIssue' in issue:
dependsOn = dependsOn + ',' + issue['outwardIssue']['key']
return dependsOn