I am /rest/api/2/issue/ to create a issue. The issue gets created, but the custom fields that I have in the request don’t get populated. No error is returned and the HTTP response code is 201.
Can somebody tell me what I am doing wrong here?
This is the JSON in the request body:
{
"fields": {
"project": {
"key": "ZRA"
},
"summary": "MAT: Unrecognized Format/s found",
"description": "MAT: Unrecognized Format/s found",
"issuetype": {
"name": "Story"
},
"customfield_14002": [{
"name": "12301"
}],
"customfield_11200": {
"name": "RA_Maintenance"
}
}
}
This is the specification for customfield_14002
{"id":"customfield_14002","name":"Client(s)","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[14002]","Client(s)"],"schema":{"type":"array","items":"option","custom":"com.atlassian.jira.plugin.system.customfieldtypes:multiselect","customId":14002}}
This is the specification for custom field_11200:
{"id":"customfield_11200","name":"Account","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["Account","cf[11200]"],"schema":{"type":"account","custom":"com.tempoplugin.tempo-accounts:accounts.customfield","customId":11200}}