The documentation for the POST /rest/api/2/issue endpoint (Create issue) specifies that you can pass issue entity properties in the “properties” attribute of the body. Whenever I try that, I get this error:
Incorrect request: ["N/A (through reference chain: com.atlassian.jira.rest.v2.issue.IssueUpdateBean[\"properties\"])"]
Here’s my payload:
{
"fields": {
"project": {
"key": "TEST"
},
"issuetype": {
"id": "10002"
},
"summary": "CLONE - ddd"
},
"properties": [
{
"jmwe-created-from": {
"key": "TEST-1671"
}
},
{
"jmwe.create.chain": [
{
"transition": {
"executionId": "2e5a386e-2cbf-4d8d-9b55-2022577e3a41",
"to_status": "To Do",
"transitionId": 1,
"workflowName": "TEST: Task Management Workflow",
"from_status": "",
"transitionName": "Create",
"context": {}
},
"configMD5": "068c3fa633959578d9f7a3dc3acb03cb"
}
]
}
]
}
Do you see anything I’m doing wrong?
Thanks,
David