Hi Guys,
Could you please help to get parent id
import jira.client
from jira.client import JIRA
options = {'server': 'https://example.com', 'verify':False}
jira = JIRA(options, basic_auth=('user', 'password'))
issues_in_project = jira.search_issues('project=11372 AND SPRINT not in closedSprints() AND sprint not in futureSprints()')
for value in issues_in_project:
print value.key , value.id, value.fields.summary , value.fields.assignee , value.fields.reporter ,value.fields.updated ,value.fields.resolutiondate, value.fields.duedate, value.fields.labels
Here, value.fields.id is showing child Id, I want the parent id as well.
For example- When we export jira details from jira by selecting all fields in CSV format..By automatically we get issue Id and corresponding parent id
I want to understand how it getting parent id from child (value.fields.id)
Is there any field through I can get directly.parent id ? Like any customfield or value.fields.parent something
Please have a look once and It will be very great if anyone can help on this
Thanks