Here is my python code to create a ticket in Jira:
#Extract values from Excel sheet
Components = getCellValue(ws, 12, 2)
TestLevel = [getCellValue(ws, 14, 2)]
issue_dict = {
'components': {'FIELD': Components},
'customfield_10301': {'value': TestLevel}
}
new_issue = jira.create_issue(fields=issue_dict)
"errors":{"components":"data was not an array","TestLevel":"data was not an array"}
I am unable to figure out the reason behind this above error.
Did anyone face such issue?