Invalid top level keys: database error

Hi team,

I have created scripted field, when i try to export field in advance settings it gives invalid to level key error.

Below is the pattern which i used to import the script ed fields:
[jira.customfield_NNNNN]
data_type = “string”
dimension = true

Kindly help me to fix this ASAP.

Thanks in advance.

@Swapna_R

Did you use your actual custom field ID instead of NNNNN?
Does it work if you import the field as property with data_type = “text”?

[jira.customfield_NNNNN]
data_type = "text"

Perhaps the structure of the field can not be imported as dimension member.
Would be great if you could share JSON results for that customfield_NNNNN from one of Jira ticket Rest API queries.

(http://JIRA_HOME/rest/api/latest/issue/ISSUE-KEY)

Martins / eazyBI