Я пытаюсь использовать Jira rest API для решения определенных проблем с использованием параметров JQL и вывода в табличном формате для отчетов
Ниже мой код и результат
url = 'https://issues.company.com/rest/api/2/search'
headers = {
'Content-Type': 'application/json',
}
params = (
('jql', 'project = TENDER AND issuetype not in (task,dependency)'),
('fields', 'key,id,issuingdate,issuetype,summary,status,resolution,created,assignee,due,priority,reporter,customfield_12184,customfield_12637,customfield_11589,customfield_11673,customfield_11681,customfield_12172,customfield_12174,customfield_11686,customfield_11373,customfield_12632,customfield_12621,customfield_12623,customfield_12626,customfield_12634,customfield_12629,customfield_12633,customfield_12625',),
)
response = requests.get('https://issues.company.com/rest/api/2/search', headers=headers, params=params, auth=(username, password)).json()
df = json_normalize(response)
presales=pd.DataFrame(df)
expand startAt maxResults total issues
schema,names 0 50 1212 {'expand': 'operations,versionedRepresentations,editmeta,changelog,renderedFields', 'id': '123990', 'self': 'https://issues.company.com/rest/api/2/issue/123990', 'key': 'TENDER-1475', 'fields': {'summary': '2019.05.22 - Product Demo', 'issuetype': {'self': 'https://issues.company.com/rest/api/2/issuetype/11607', 'id': '11607', 'description': '', 'iconUrl': 'https://issues.company.com/secure/viewavatar?size=xsmall&avatarId=13577&avatarType=issuetype', 'name': 'Engagement', 'subtask': True, 'avatarId': 13577}, 'created': '2019-05-14T22:30:22.000+0100', 'customfield_11373': None, 'customfield_11681':