It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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
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.
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: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "customfield_10237" (Class com.atlassian.jira.plugins.importer.external.beans.ExternalIssue), not marked as ignorable at [Source: java.io.StringReader@1930818; 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"])
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.