{
    "customfieldId": "customfield_10200",
    "name": "Jira project",
    "fieldType": "STANDARD",
    "datasource": {
        "name": "Atlassian Jira",
        "category": "URL",
        "responseContentType": "JSON",
        "datasourceDefinitionId": "default:conf:2",
        "rootUrl": "https://jira.atlassian.com/rest/api/latest"
    },
    "datasourceDefinitionId": "default:conf:2",
    "editView": {
        "widgetType": "AUTOCOMPLETE",
        "fieldRequestConfiguration": {
            "query": "project",
            "keyIndex": "0",
            "dateFormat": "TIMESTAMP_S",
            "jsonRootPath": "$.*",
            "jsonColumns": [
                {
                    "name": "key",
                    "path": "$.key"
                },
                {
                    "name": "name",
                    "path": "$.name"
                }
            ]
        },
        "fieldWidgetConfiguration": {
            "isMultiple": false,
            "isDisplayUnique": false,
            "noResultLabel": "No results",
            "minCharacters": 0,
            "maxSuggestions": 15,
            "editFirstDisplay": false,
            "nbLinesDefault": 0,
            "autoSelectUnique": false,
            "autoSelectAll": false,
            "alphaSort": false,
            "templateConfiguration": {
                "displayTemplate": "{name}"
            }
        }
    },
    "displayView": {
        "issueView": {
            "fieldRequestConfiguration": {
                "query": "project/$currentCustomfieldValue",
                "keyIndex": "0",
                "dateFormat": "TIMESTAMP_S",
                "jsonRootPath": "",
                "jsonColumns": [
                    {
                        "name": "key",
                        "path": "$.key"
                    },
                    {
                        "name": "name",
                        "path": "$.name"
                    },
                    {
                        "name": "url",
                        "path": "$.url"
                    }
                ]
            },
            "templateConfiguration": {
                "displayTemplate": "<a href=\"{url}\" target=\"_blank\">{key}</a> - {name}",
                "displayValueNotFound": "{currentCustomfieldValue}"
            },
            "maxSuggestions": 15,
            "isDisplayUnique": false
        },
        "statisticsView": {
            "templateConfiguration": {
                "displayTemplate": "{key} - {name}",
                "displayValueNotFound": "{currentCustomfieldValue}"
            }
        }
    },
    "advancedView": {
        "debuggerActive": false,
        "cacheActive": true,
        "cacheDuration": 14400000,
        "bypassJqlSecurity": false
    }
}