I pre-set up two customFields in Jira, ex. "Story Points" and "Business Value" and in the json file, I defined value for the two fields as:
"Story Points" : "15",
"Business Value" : "34",
Importing such custom field using JSON Importer seems to fail with error such as ...Unrecognized field "Story Points" (Class com.atlassian.jira.plugins.importer.external.beans.ExternalIssue),...
Does this mean I have to define custom fields as below in order to import them?
"customFieldValues": [
{
"fieldName": "Story Points",
"fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float",
"value": "15"
},
{
"fieldName": "Business Value",
"fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float",
"value": "34"
}
]
Thanks,
JC