CustomField using Json importer

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"



3 answers

1 accepted

I could not make this format "customfield_10102": 10, to work. Anyway, the {fileName, fieldType, value} form is working fine for me now.

Yeah, quite frustrating that the REST Json endpoint and the JSON importer seem to have completley distinct parsers when it comes to custom feilds. I still can't get cascading selects to import since "child" is not valid.

1 vote
Yilin Mo Atlassian Team Jun 30, 2013

Actually you need to have the id rather than the name, for example, if the customfield id for the story point is 10102 with a value 10, you can add the following line in the json data output:

"customfield_10102": 10,

Thanks for your suggestion. However, this method doesn't seem to work for me. I still get error when the Json importer encounters the first customfield:

java.lang.RuntimeException: Unrecognized field "customfield_10237" (Class com.atlassian.jira.plugins.importer.external.beans.ExternalIssue), not marked as ignorable
 at [Source:; line: 24, column: 28] (through reference chain: com.atlassian.jira.plugins.importer.external.beans.ExternalProject["issues"]->com.atlassian.jira.plugins.importer.external.beans.ExternalIssue["customfield_10237"])
0 vote
Yilin Mo Atlassian Team Jul 03, 2013

May I ask whether you've add the new customfield on the destination JIRA instance?

Thanks for your quick response. Yes, I lookd up the customfields table to get field IDs for the fields that I defined.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

66 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you