I am trying to create an issue from JIRA rest API . I am getting 415 error which I understood is a bad payload.
Below is the payload I am passing right now :
payload = json.dumps({
"fields": {
"project": {
"key": "Project Key"
},
"summary": "Modification in front end",
"description": {
"content": [
{
"content": [
{
"text": "Order entry fails when selecting supplier.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"issuetype": {
"name": "Bug"
},
"reporter": {
"id": "6017b01d332636006a6a15d9"
}
},
"update": {}
})