11. 舒仗仂
JQL 亰舒仗仂:
issuesFromTextSearch =
soap.getIssuesFromJqlSearch(auth,
'project = DEV AND (issuetype = "DEV:
QA testing " AND "Affects Patch/es" =
"*point") AND status in ("DEV:
Resolved", "DEV: Developed")', 10000);
弌仂舒仆亠仆仆亠 亳亰 亳仍舒:
issues = soap.getIssuesFromFilter(auth,
"17395")
12. 亳弍 亳从亠仂于
for issue in issues:
priority = pr[issue['priority']]
status = st[issue['status']]
if not issue['resolution'] == None:
resolution = res[issue['resolution']]
else:
resolution = ""
13. 仂仍亰仂于舒亠仍从亳亠 舒亳弍
customFields = issue['customFieldValues']
for customField in customFields:
if customField['customfieldId'] ==
'customfield_10685':
for i in customField['values']:
fixPatches = fixPatches + i
14. 弌仗亳舒仆仆仂亠 于亠仄
worklogs = soap.getWorklogs(auth,issue['key'])
for worklog in worklogs:
date = datetime.date(
worklog['startDate'][0],
worklog['startDate'][1],
worklog['startDate'][2])
if date == reportDate:
author = soap.getUser(auth,
worklog['author'])['fullname']
timeSpent = worklog['timeSpent']
comment = worklog['comment']