The info is in issue.fields.parent in issues of type sub-issue, such as Sub-task
jql = "project = MYPROJ and type = Sub-task"
issues = jira.search_issues(jql)
log.info("Found first %s subtasks" % len(issues))
for issue in issues:
print "Parent %s of subtask %s" % (issue.fields.parent, issue.key)
Not sure it helps:
in the instance I'm working on it is the field:
I don't now, whether this is a reserved field by atlassian, or it's a matter of implementation.
I took an Issue I knew it's a Sub-Task an knew its parent key. Made a rest-call in Browser and searched for the key in the resulting json :)
Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events