I'm having a lot of trouble importing JSON data which needs to include values for custom fields. The ids and types of the custom fields are already defined, but the JSON import ignores them.
"issues": [
{
"key" : "TEST-1",
"summary" : "Summary text goes here",
"customfield_10082" : "Some text"
}
]
I know it's possible to add custom fields with this format
<span>"customFieldValues"</span><span>:</span> <span>[</span>
<span>//Custom Fields which accepts single values:</span>
<span>{</span>
<span>"fieldName"</span><span>:</span> <span>"My Awesome Text Field (single line)"</span><span>,</span>
<span>"fieldType"</span><span>:</span> <span>"com.atlassian.jira.plugin.system.customfieldtypes:textfield"</span><span>,</span>
<span>"value"</span><span>:</span> <span>"some text"</span>
<span>}</span><span>,</span> But this creates completely new custom fields. It doesn't populate any that have already been defined.